From dfcf096caa50c378c5481324d0b677ed56d28aa0 Mon Sep 17 00:00:00 2001 From: Luka Trovic Date: Thu, 31 Mar 2022 22:44:50 +0200 Subject: [PATCH] fix: increase file count after sharing Signed-off-by: Luka Trovic --- src/components/card/AttachmentList.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/card/AttachmentList.vue b/src/components/card/AttachmentList.vue index 3c64b4fef..f28b05ddb 100644 --- a/src/components/card/AttachmentList.vue +++ b/src/components/card/AttachmentList.vue @@ -234,6 +234,7 @@ export default { shareWith: '' + this.cardId, }).then(() => { this.$store.dispatch('fetchAttachments', this.cardId) + this.$store.commit('cardIncreaseAttachmentCount', this.cardId) }) }) },