Disabled popup filter fix

This commit is contained in:
Adina Țeudan 2022-03-29 22:41:33 +03:00
parent 320c3d3f4a
commit 750aedd48a

View File

@ -2,8 +2,8 @@
<ng-container *ngIf="primaryGroup.icon">
<iqser-icon-button
[attr.aria-expanded]="expanded$ | async"
[class.disabled]="primaryFiltersDisabled$ | async"
[disabled]="primaryFiltersDisabled$ | async"
[ngClass]="{'disabled': primaryFiltersDisabled$ | async}"
[icon]="primaryGroup.icon"
[label]="primaryGroup.label || ('filter-menu.label' | translate)"
[matMenuTriggerFor]="filterMenu"
@ -14,6 +14,7 @@
<ng-container *ngIf="!primaryGroup.icon">
<iqser-chevron-button
[attr.aria-expanded]="expanded$ | async"
[class.disabled]="primaryFiltersDisabled$ | async"
[disabled]="primaryFiltersDisabled$ | async"
[label]="primaryGroup.label || ('filter-menu.label' | translate)"
[matMenuTriggerFor]="filterMenu"