Преглед на файлове

removed ripple effect of disabled icon-buttons

Warafear преди 11 месеца
родител
ревизия
3214d76e60
променени са 1 файла, в които са добавени 5 реда и са изтрити 1 реда
  1. 5 1
      src/app/shared-components/icon-button/icon-button.component.html

+ 5 - 1
src/app/shared-components/icon-button/icon-button.component.html

@@ -1,3 +1,7 @@
-<button matRipple [class]="!disabled ? 'hover-effect' : ''">
+<button
+  matRipple
+  [class]="!disabled ? 'hover-effect' : ''"
+  [disabled]="disabled"
+>
   <img [src]="'assets/icons/UIIcons/' + icon + '.svg'" [alt]="icon" />
 </button>