From 07def95ef8e79189a11608642414d9d25f7b668d Mon Sep 17 00:00:00 2001 From: Pierre Jeanjean Date: Mon, 16 Dec 2024 13:31:59 +0100 Subject: [PATCH] CRISTAL-302: In case of page load error, the number of attachments is not refreshed --- .../attachments-default/src/defaultAttachmentsService.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/core/attachments/attachments-default/src/defaultAttachmentsService.ts b/core/attachments/attachments-default/src/defaultAttachmentsService.ts index 16af9e51a..844357c50 100644 --- a/core/attachments/attachments-default/src/defaultAttachmentsService.ts +++ b/core/attachments/attachments-default/src/defaultAttachmentsService.ts @@ -93,6 +93,7 @@ const attachmentsStore: AttachmentsStoreDefinition = defineStore< } else { this.unknownPage = true; this.attachments = []; + this.count = 0; } }, setError(error: string) {