From 0db44c60f05b55c7301dd3f456a01034987133b3 Mon Sep 17 00:00:00 2001 From: Vitor Mattos Date: Mon, 25 Nov 2024 13:23:15 -0300 Subject: [PATCH] fix: show message when is empty Signed-off-by: Vitor Mattos --- src/views/FilesList/FilesList.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/FilesList/FilesList.vue b/src/views/FilesList/FilesList.vue index f1732826a8..0997b0beff 100644 --- a/src/views/FilesList/FilesList.vue +++ b/src/views/FilesList/FilesList.vue @@ -265,7 +265,7 @@ export default { return this.dirContentsFiltered }, isEmptyDir() { - return this.filesStore.files.size === 0 + return Object.keys(this.filesStore.files).length === 0 }, isRefreshing() { return !this.isEmptyDir