mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-18 00:34:28 +08:00
code refactor
This commit is contained in:
@@ -1432,15 +1432,9 @@ export default {
|
||||
return;
|
||||
}
|
||||
|
||||
const filter = {
|
||||
const changed = this.transactionsStore.updateTransactionListFilter({
|
||||
accountIds: accountIds
|
||||
};
|
||||
|
||||
if (datetimeConstants.allBillingCycleDateRangesMap[this.query.dateType] && !this.accountsStore.getAccountStatementDate(accountIds)) {
|
||||
filter.dateType = datetimeConstants.allDateRanges.Custom.type;
|
||||
}
|
||||
|
||||
const changed = this.transactionsStore.updateTransactionListFilter(filter);
|
||||
});
|
||||
|
||||
if (changed) {
|
||||
this.loading = true;
|
||||
|
||||
Reference in New Issue
Block a user