add transaction tag filter to frontend

This commit is contained in:
MaysWind
2024-07-21 23:36:16 +08:00
parent 4f9ab9db75
commit 26d77de67a
15 changed files with 874 additions and 14 deletions
@@ -488,6 +488,9 @@ export default {
allTags() {
return this.transactionTagsStore.allVisibleTags;
},
allTagsMap() {
return this.transactionTagsStore.allTransactionTagsMap;
},
hasAvailableExpenseCategories() {
if (!this.allCategories || !this.allCategories[this.allCategoryTypes.Expense] || !this.allCategories[this.allCategoryTypes.Expense].length) {
return false;
@@ -847,11 +850,13 @@ export default {
this.allCategoriesMap,
this.allVisibleAccounts,
this.allAccountsMap,
this.allTagsMap,
this.defaultAccountId,
{
type: options.type,
categoryId: options.categoryId,
accountId: options.accountId
accountId: options.accountId,
tagIds: options.tagIds
},
setContextData,
convertContextTime