From cd3b7e7fd9e88dceac02ae8ac046904460cce6a4 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 626df017e..2045802cb 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) }) }) },