archived dossiers are not deleted dossiers

This commit is contained in:
Timo Bejan 2022-01-18 12:13:33 +02:00
parent dd2f0c4eca
commit 63c0c1e9c5

View File

@ -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') },
];
}