mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-16 16:07:33 +08:00
migrate transaction statistics page to composition API and typescript
This commit is contained in:
@@ -119,7 +119,7 @@ export class ChartDataType implements TypeAndName {
|
||||
return this.availableAnalysisTypes[analysisType] || false;
|
||||
}
|
||||
|
||||
public static values(analysisType: StatisticsAnalysisType | undefined): ChartDataType[] {
|
||||
public static values(analysisType?: StatisticsAnalysisType): ChartDataType[] {
|
||||
if (analysisType === undefined) {
|
||||
return ChartDataType.allInstances;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user