Skip to content

Commit

Permalink
Don't show "0+" in the search placeholder when there's no stash root
Browse files Browse the repository at this point in the history
  • Loading branch information
josh-berry committed Sep 1, 2024
1 parent 9eb9156 commit fdd87ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stash-list/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ export default defineComponent({
counts(): FolderStats {
const stats = this.stashRoot?.$recursiveStats;
if (!stats) return {bookmarkCount: 0, folderCount: 0, isLoaded: false};
if (!stats) return {bookmarkCount: 0, folderCount: 0, isLoaded: true};
return stats;
},
Expand Down

0 comments on commit fdd87ea

Please sign in to comment.