mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-17 16:24:25 +08:00
fix the bug that hidden tags don't display in transaction detail page
This commit is contained in:
@@ -22,7 +22,7 @@
|
|||||||
:checked="isChecked(item.id)"
|
:checked="isChecked(item.id)"
|
||||||
:key="item.id"
|
:key="item.id"
|
||||||
v-for="item in items"
|
v-for="item in items"
|
||||||
v-show="!item.hidden"
|
v-show="!item.hidden || isChecked(item.id)"
|
||||||
@change="changeItemSelection">
|
@change="changeItemSelection">
|
||||||
<template #title>
|
<template #title>
|
||||||
<f7-block class="no-padding no-margin">
|
<f7-block class="no-padding no-margin">
|
||||||
|
|||||||
@@ -245,7 +245,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template #item="{ props, item }">
|
<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>
|
<template #title>
|
||||||
<v-list-item-title>
|
<v-list-item-title>
|
||||||
<div class="d-flex align-center">
|
<div class="d-flex align-center">
|
||||||
@@ -489,7 +489,7 @@ export default {
|
|||||||
return this.transactionCategoriesStore.allTransactionCategoriesMap;
|
return this.transactionCategoriesStore.allTransactionCategoriesMap;
|
||||||
},
|
},
|
||||||
allTags() {
|
allTags() {
|
||||||
return this.transactionTagsStore.allVisibleTags;
|
return this.transactionTagsStore.allTransactionTags;
|
||||||
},
|
},
|
||||||
allTagsMap() {
|
allTagsMap() {
|
||||||
return this.transactionTagsStore.allTransactionTagsMap;
|
return this.transactionTagsStore.allTransactionTagsMap;
|
||||||
|
|||||||
@@ -505,7 +505,7 @@ export default {
|
|||||||
return this.transactionCategoriesStore.allTransactionCategoriesMap;
|
return this.transactionCategoriesStore.allTransactionCategoriesMap;
|
||||||
},
|
},
|
||||||
allTags() {
|
allTags() {
|
||||||
return this.transactionTagsStore.allVisibleTags;
|
return this.transactionTagsStore.allTransactionTags;
|
||||||
},
|
},
|
||||||
allTagsMap() {
|
allTagsMap() {
|
||||||
return this.transactionTagsStore.allTransactionTagsMap;
|
return this.transactionTagsStore.allTransactionTagsMap;
|
||||||
|
|||||||
Reference in New Issue
Block a user