RED-8234: fixed licenses total stats.
This commit is contained in:
parent
361d689f0c
commit
a2c91e2149
@ -37,6 +37,8 @@ const defaultOnError: ILicenses = {
|
||||
],
|
||||
};
|
||||
|
||||
const ALL_START_DATE = '2020-01-01T00:00:00.000Z';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
})
|
||||
@ -136,8 +138,8 @@ export class LicenseService extends GenericService<ILicenseReport> {
|
||||
});
|
||||
|
||||
this.allLicensesReport = await this.getReport({
|
||||
startDate: '2020-01-01T00:00:00.000Z',
|
||||
endDate: '2023-12-31T00:00:00.000Z',
|
||||
startDate: ALL_START_DATE,
|
||||
endDate: endDate.toDate(),
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user