fix the bug that hidden tags don't display in transaction detail page

This commit is contained in:
MaysWind
2024-07-23 01:01:15 +08:00
parent 3d56bfa114
commit aea4cf7e8b
3 changed files with 4 additions and 4 deletions
@@ -22,7 +22,7 @@
:checked="isChecked(item.id)"
:key="item.id"
v-for="item in items"
v-show="!item.hidden"
v-show="!item.hidden || isChecked(item.id)"
@change="changeItemSelection">
<template #title>
<f7-block class="no-padding no-margin">
@@ -245,7 +245,7 @@
</template>
<template #item="{ props, item }">
<v-list-item :value="item.value" v-bind="props">
<v-list-item :value="item.value" v-bind="props" v-if="!item.raw.hidden">
<template #title>
<v-list-item-title>
<div class="d-flex align-center">
@@ -489,7 +489,7 @@ export default {
return this.transactionCategoriesStore.allTransactionCategoriesMap;
},
allTags() {
return this.transactionTagsStore.allVisibleTags;
return this.transactionTagsStore.allTransactionTags;
},
allTagsMap() {
return this.transactionTagsStore.allTransactionTagsMap;
+1 -1
View File
@@ -505,7 +505,7 @@ export default {
return this.transactionCategoriesStore.allTransactionCategoriesMap;
},
allTags() {
return this.transactionTagsStore.allVisibleTags;
return this.transactionTagsStore.allTransactionTags;
},
allTagsMap() {
return this.transactionTagsStore.allTransactionTagsMap;