mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-20 17:54:30 +08:00
remove unused code
This commit is contained in:
@@ -189,15 +189,7 @@ export default {
|
|||||||
return this.$store.getters.currentUserDefaultCurrency;
|
return this.$store.getters.currentUserDefaultCurrency;
|
||||||
},
|
},
|
||||||
firstDayOfWeek() {
|
firstDayOfWeek() {
|
||||||
if (this.$utilities.isNumber(this.$store.getters.currentUserFirstDayOfWeek)) {
|
return this.$store.getters.currentUserFirstDayOfWeek;
|
||||||
return this.$store.getters.currentUserFirstDayOfWeek;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (this.$constants.datetime.allWeekDays[this.$t('default.firstDayOfWeek')]) {
|
|
||||||
return this.$constants.datetime.allWeekDays[this.$t('default.firstDayOfWeek')].type;
|
|
||||||
}
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
},
|
},
|
||||||
dateRange() {
|
dateRange() {
|
||||||
const self = this;
|
const self = this;
|
||||||
|
|||||||
@@ -266,15 +266,7 @@ export default {
|
|||||||
return this.$store.getters.currentUserDefaultCurrency;
|
return this.$store.getters.currentUserDefaultCurrency;
|
||||||
},
|
},
|
||||||
firstDayOfWeek() {
|
firstDayOfWeek() {
|
||||||
if (this.$utilities.isNumber(this.$store.getters.currentUserFirstDayOfWeek)) {
|
return this.$store.getters.currentUserFirstDayOfWeek;
|
||||||
return this.$store.getters.currentUserFirstDayOfWeek;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (this.$constants.datetime.allWeekDays[this.$t('default.firstDayOfWeek')]) {
|
|
||||||
return this.$constants.datetime.allWeekDays[this.$t('default.firstDayOfWeek')].type;
|
|
||||||
}
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
},
|
},
|
||||||
query() {
|
query() {
|
||||||
return this.$store.state.transactionStatisticsFilter;
|
return this.$store.state.transactionStatisticsFilter;
|
||||||
|
|||||||
@@ -534,15 +534,7 @@ export default {
|
|||||||
return this.$utilities.getTimezoneOffsetMinutes();
|
return this.$utilities.getTimezoneOffsetMinutes();
|
||||||
},
|
},
|
||||||
firstDayOfWeek() {
|
firstDayOfWeek() {
|
||||||
if (this.$utilities.isNumber(this.$store.getters.currentUserFirstDayOfWeek)) {
|
return this.$store.getters.currentUserFirstDayOfWeek;
|
||||||
return this.$store.getters.currentUserFirstDayOfWeek;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (this.$constants.datetime.allWeekDays[this.$t('default.firstDayOfWeek')]) {
|
|
||||||
return this.$constants.datetime.allWeekDays[this.$t('default.firstDayOfWeek')].type;
|
|
||||||
}
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
},
|
},
|
||||||
query() {
|
query() {
|
||||||
return this.$store.state.transactionsFilter;
|
return this.$store.state.transactionsFilter;
|
||||||
|
|||||||
Reference in New Issue
Block a user