show no available tags when all tags are hidden

This commit is contained in:
MaysWind
2024-07-24 23:30:33 +08:00
parent 7d6c7f49e5
commit 84f7eab95d
3 changed files with 23 additions and 6 deletions
+3
View File
@@ -75,6 +75,9 @@ export const useTransactionTagsStore = defineStore('transactionTags', {
},
allAvailableTagsCount(state) {
return state.allTransactionTags.length;
},
allVisibleTagsCount(state) {
return state.allVisibleTags.length;
}
},
actions: {