We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents df8d398 + 19edbfe commit 16a43c1Copy full SHA for 16a43c1
1 file changed
src/components/card/AttachmentList.vue
@@ -151,8 +151,13 @@ export default {
151
}
152
},
153
154
- created() {
155
- this.$store.dispatch('fetchAttachments', this.cardId)
+ watch: {
+ cardId: {
156
+ immediate: true,
157
+ handler() {
158
+ this.$store.dispatch('fetchAttachments', this.cardId)
159
+ },
160
161
162
methods: {
163
handleUploadFile(event) {
0 commit comments