diff --git a/src/components/cards/CardCover.vue b/src/components/cards/CardCover.vue index 88c84a0db..b685aeb59 100644 --- a/src/components/cards/CardCover.vue +++ b/src/components/cards/CardCover.vue @@ -65,7 +65,9 @@ export default { cardId: { immediate: true, handler() { - this.fetchAttachments(this.cardId) + if (this.$store.getters.cardById(this.cardId)?.attachmentCount > 0) { + this.fetchAttachments(this.cardId) + } }, }, },