remove unused code

This commit is contained in:
MaysWind
2023-07-17 23:05:48 +08:00
parent 0255213934
commit f0ef9ad51e
4 changed files with 0 additions and 31 deletions
-10
View File
@@ -259,16 +259,6 @@ export default {
categorizedAccounts() {
return this.accountsStore.allCategorizedAccounts;
},
allAccountCount() {
return this.accountsStore.allAvailableAccountsCount;
},
noAvailableAccount() {
if (this.showHidden) {
return this.accountsStore.allAvailableAccountsCount < 1;
} else {
return this.accountsStore.allVisibleAccountsCount < 1;
}
},
netAssets() {
const netAssets = this.accountsStore.getNetAssets(this.showAccountBalance);
return this.getDisplayCurrency(netAssets, this.defaultCurrency);
-3
View File
@@ -158,9 +158,6 @@ export default {
defaultCurrency() {
return this.userStore.currentUserDefaultCurrency;
},
firstDayOfWeek() {
return this.userStore.currentUserFirstDayOfWeek;
},
allDateRanges() {
return datetimeConstants.allDateRanges;
},
-15
View File
@@ -275,21 +275,6 @@ export default {
}
});
},
saveSortResult() {
const self = this;
self.updating = true;
self.transactionTagsStore.updateTagDisplayOrders().then(() => {
self.updating = false;
}).catch(error => {
self.updating = false;
if (!error.processed) {
self.$refs.snackbar.showError(error);
}
});
},
add() {
this.newTag = {
name: ''
-3
View File
@@ -215,9 +215,6 @@ export default {
defaultCurrency() {
return this.userStore.currentUserDefaultCurrency;
},
firstDayOfWeek() {
return this.userStore.currentUserFirstDayOfWeek;
},
allDateRanges() {
return datetimeConstants.allDateRanges;
},