Skip to content

Commit 16a43c1

Browse files
Merge pull request #3090 from nextcloud/bugfix/noid/load-attachments
[stable1.2] Always fetch attachments
2 parents df8d398 + 19edbfe commit 16a43c1

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

src/components/card/AttachmentList.vue

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,13 @@ export default {
151151
}
152152
},
153153
},
154-
created() {
155-
this.$store.dispatch('fetchAttachments', this.cardId)
154+
watch: {
155+
cardId: {
156+
immediate: true,
157+
handler() {
158+
this.$store.dispatch('fetchAttachments', this.cardId)
159+
},
160+
},
156161
},
157162
methods: {
158163
handleUploadFile(event) {

0 commit comments

Comments
 (0)