From 14811688f9eaa2ae5f4259be671b4f293f69f485 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adina=20=C8=9Aeudan?= Date: Fri, 22 Oct 2021 01:08:07 +0300 Subject: [PATCH] RED-2543: Doughnut chart - fixed visually disabling selection --- .../simple-doughnut-chart.component.html | 2 +- .../simple-doughnut-chart.component.ts | 13 ++++++++++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/apps/red-ui/src/app/modules/shared/components/simple-doughnut-chart/simple-doughnut-chart.component.html b/apps/red-ui/src/app/modules/shared/components/simple-doughnut-chart/simple-doughnut-chart.component.html index dbe733b5e..fb0477d48 100644 --- a/apps/red-ui/src/app/modules/shared/components/simple-doughnut-chart/simple-doughnut-chart.component.html +++ b/apps/red-ui/src/app/modules/shared/components/simple-doughnut-chart/simple-doughnut-chart.component.html @@ -28,7 +28,7 @@ (click)="val.key && selectValue(val.key)" *ngFor="let val of config" [class.active]="filterChecked$(val.key) | async" - [class.filter-disabled]="!val.key || (statusFilters$ | async)?.length === 0" + [class.filter-disabled]="!val.key || !filtersEnabled" >