Browse Source

Merge pull request #6003 from pinkevmladchy/pinkevlmladchy/Alarms-table-widget-allows-alarms-to-be-cleared-when-Allow-alarms-clear-disabled

[3.3.4] UI: Alarms table widget allows alarms to be cleared when "Allow alarms clear" is disabled
pull/6106/head
Igor Kulikov 5 years ago
committed by GitHub
parent
commit
8e51f5530a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      ui-ngx/src/app/modules/home/components/widget/lib/alarms-table-widget.component.html

2
ui-ngx/src/app/modules/home/components/widget/lib/alarms-table-widget.component.html

@ -51,7 +51,7 @@
(click)="ackAlarms($event)">
<mat-icon>done</mat-icon>
</button>
<button mat-button mat-icon-button
<button *ngIf="ctx.settings.allowClear" mat-button mat-icon-button
[disabled]="isLoading$ | async"
matTooltip="{{ 'alarm.clear' | translate }}"
matTooltipPosition="above"

Loading…
Cancel
Save