From f441fa10d20aa6550b1700be5876a19f492a7b4c 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 f1732826a..0997b0bef 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