Skip to content

Commit

Permalink
fix: show message when is empty
Browse files Browse the repository at this point in the history
Signed-off-by: Vitor Mattos <vitor@php.rio>
  • Loading branch information
vitormattos committed Nov 25, 2024
1 parent ce7e832 commit f441fa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/FilesList/FilesList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f441fa1

Please sign in to comment.