archived dossiers are not deleted dossiers
This commit is contained in:
parent
dd2f0c4eca
commit
63c0c1e9c5
@ -38,10 +38,10 @@ export class DossiersListingDetailsComponent {
|
||||
|
||||
private async _toDossierChartData(dossiers: Dossier[]): Promise<DoughnutChartConfig[]> {
|
||||
// TODO: deleted dossiers count should come with stats
|
||||
const deletedDossiers = await this.dossiersService.getDeleted();
|
||||
// const deletedDossiers = await this.dossiersService.getDeleted();
|
||||
return [
|
||||
{ value: dossiers.length, color: 'ACTIVE', label: _('active') },
|
||||
{ value: deletedDossiers.length, color: 'DELETED', label: _('archived') },
|
||||
// { value: deletedDossiers.length, color: 'DELETED', label: _('archived') },
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user