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