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 <[email protected]>
  • Loading branch information
vitormattos authored and backportbot-libresign[bot] committed Nov 25, 2024
1 parent 61c81cb commit 0584912
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 0584912

Please sign in to comment.