From 46d738fdc8c18bba1977b5dff46eea0e249f2c9b Mon Sep 17 00:00:00 2001 From: Vitor Mattos Date: Tue, 19 Nov 2024 18:48:46 -0300 Subject: [PATCH] chore: refresh file list every when load view Signed-off-by: Vitor Mattos --- src/views/FilesList/FilesList.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/views/FilesList/FilesList.vue b/src/views/FilesList/FilesList.vue index bf6d1428d7..f1732826a8 100644 --- a/src/views/FilesList/FilesList.vue +++ b/src/views/FilesList/FilesList.vue @@ -272,10 +272,8 @@ export default { && this.loading }, }, - async created() { - await this.filesStore.getAllFiles() - }, async mounted() { + await this.filesStore.getAllFiles({ force_fetch: true }) subscribe('libresign:visible-elements-saved', this.closeSidebar) this.filesStore.disableIdentifySigner() },