diff --git a/src/components/card/AttachmentList.vue b/src/components/card/AttachmentList.vue index cb54e0a27..66a1c38e4 100644 --- a/src/components/card/AttachmentList.vue +++ b/src/components/card/AttachmentList.vue @@ -151,8 +151,13 @@ export default { } }, }, - created() { - this.$store.dispatch('fetchAttachments', this.cardId) + watch: { + cardId: { + immediate: true, + handler() { + this.$store.dispatch('fetchAttachments', this.cardId) + }, + }, }, methods: { handleUploadFile(event) {