remove unused code
This commit is contained in:
@@ -259,16 +259,6 @@ export default {
|
|||||||
categorizedAccounts() {
|
categorizedAccounts() {
|
||||||
return this.accountsStore.allCategorizedAccounts;
|
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() {
|
netAssets() {
|
||||||
const netAssets = this.accountsStore.getNetAssets(this.showAccountBalance);
|
const netAssets = this.accountsStore.getNetAssets(this.showAccountBalance);
|
||||||
return this.getDisplayCurrency(netAssets, this.defaultCurrency);
|
return this.getDisplayCurrency(netAssets, this.defaultCurrency);
|
||||||
|
|||||||
@@ -158,9 +158,6 @@ export default {
|
|||||||
defaultCurrency() {
|
defaultCurrency() {
|
||||||
return this.userStore.currentUserDefaultCurrency;
|
return this.userStore.currentUserDefaultCurrency;
|
||||||
},
|
},
|
||||||
firstDayOfWeek() {
|
|
||||||
return this.userStore.currentUserFirstDayOfWeek;
|
|
||||||
},
|
|
||||||
allDateRanges() {
|
allDateRanges() {
|
||||||
return datetimeConstants.allDateRanges;
|
return datetimeConstants.allDateRanges;
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -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() {
|
add() {
|
||||||
this.newTag = {
|
this.newTag = {
|
||||||
name: ''
|
name: ''
|
||||||
|
|||||||
@@ -215,9 +215,6 @@ export default {
|
|||||||
defaultCurrency() {
|
defaultCurrency() {
|
||||||
return this.userStore.currentUserDefaultCurrency;
|
return this.userStore.currentUserDefaultCurrency;
|
||||||
},
|
},
|
||||||
firstDayOfWeek() {
|
|
||||||
return this.userStore.currentUserFirstDayOfWeek;
|
|
||||||
},
|
|
||||||
allDateRanges() {
|
allDateRanges() {
|
||||||
return datetimeConstants.allDateRanges;
|
return datetimeConstants.allDateRanges;
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user