MOBILE-2768 policy: Display Inactive badge in mobile too

main
Dani Palou 2024-04-15 08:39:29 +02:00
parent 55c083daf0
commit 881c8bef11
1 changed files with 3 additions and 0 deletions

View File

@ -210,6 +210,9 @@
<ion-badge color="success" *ngIf="policy.status === activeStatus">
{{ 'core.policy.status1' | translate }}
</ion-badge>
<ion-badge color="danger" *ngIf="!isPreviousVersion && policy.status === inactiveStatus">
{{ 'core.policy.status2' | translate }}
</ion-badge>
<ion-badge color="info" *ngIf="policy.optional">
{{ 'core.policy.policydocoptionalyes' | translate }}
</ion-badge>