mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-15 23:47:33 +08:00
support showing transaction tag in transaction list page
This commit is contained in:
@@ -18,6 +18,7 @@ export const useSettingsStore = defineStore('settings', {
|
||||
timezoneUsedForStatisticsInHomePage: settings.getTimezoneUsedForStatisticsInHomePage(),
|
||||
itemsCountInTransactionListPage: settings.getItemsCountInTransactionListPage(),
|
||||
showTotalAmountInTransactionListPage: settings.isShowTotalAmountInTransactionListPage(),
|
||||
showTagInTransactionListPage: settings.isShowTagInTransactionListPage(),
|
||||
showAccountBalance: settings.isShowAccountBalance(),
|
||||
statistics: {
|
||||
defaultChartDataType: settings.getStatisticsDefaultChartDataType(),
|
||||
@@ -82,6 +83,10 @@ export const useSettingsStore = defineStore('settings', {
|
||||
settings.setShowTotalAmountInTransactionListPage(value);
|
||||
this.appSettings.showTotalAmountInTransactionListPage = value;
|
||||
},
|
||||
setShowTagInTransactionListPage(value) {
|
||||
settings.setShowTagInTransactionListPage(value);
|
||||
this.appSettings.showTagInTransactionListPage = value;
|
||||
},
|
||||
setShowAccountBalance(value) {
|
||||
settings.setShowAccountBalance(value);
|
||||
this.appSettings.showAccountBalance = value;
|
||||
|
||||
Reference in New Issue
Block a user