mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-19 09:14:27 +08:00
reset date aggregation type for trend analysis when switching to non-trend analysis
This commit is contained in:
@@ -784,6 +784,10 @@ export default {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (this.analysisType !== statisticsConstants.allAnalysisTypes.TrendAnalysis) {
|
||||||
|
this.trendDateAggregationType = statisticsConstants.allDateAggregationTypes.Month.type;
|
||||||
|
}
|
||||||
|
|
||||||
this.analysisType = analysisType;
|
this.analysisType = analysisType;
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
this.statisticsStore.updateTransactionStatisticsInvalidState(true);
|
this.statisticsStore.updateTransactionStatisticsInvalidState(true);
|
||||||
|
|||||||
Reference in New Issue
Block a user