Maksym Tsymbarov
8 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with
6 additions and
0 deletions
-
ui-ngx/src/app/modules/home/components/alarm-rules/alarm-rule-filter-config.component.ts
-
ui-ngx/src/app/modules/home/components/alarm/alarm-filter-config.component.ts
-
ui-ngx/src/app/modules/home/components/audit-log/audit-log-filter.component.ts
-
ui-ngx/src/app/modules/home/components/calculated-fields/table-header/calculated-fields-filter-config.component.ts
-
ui-ngx/src/app/modules/home/components/device/device-info-filter.component.ts
|
|
|
@ -196,6 +196,7 @@ export class AlarmRuleFilterConfigComponent implements OnInit, ControlValueAcces |
|
|
|
|
|
|
|
cancel() { |
|
|
|
this.updateAlarmRuleConfigForm(this.alarmRuleFilterConfig); |
|
|
|
this.alarmRuleFilterConfigForm.markAsPristine(); |
|
|
|
if (this.overlayRef) { |
|
|
|
this.overlayRef.dispose(); |
|
|
|
} else { |
|
|
|
|
|
|
|
@ -224,6 +224,7 @@ export class AlarmFilterConfigComponent implements OnInit, OnDestroy, ControlVal |
|
|
|
|
|
|
|
cancel() { |
|
|
|
this.updateAlarmConfigForm(this.alarmFilterConfig); |
|
|
|
this.alarmFilterConfigForm.markAsPristine(); |
|
|
|
if (this.overlayRef) { |
|
|
|
this.overlayRef.dispose(); |
|
|
|
} else { |
|
|
|
|
|
|
|
@ -163,11 +163,13 @@ export class AuditLogFilterComponent implements OnInit, ControlValueAccessor { |
|
|
|
|
|
|
|
cancel() { |
|
|
|
this.updateAuditLogFilterForm(this.auditLogFilter); |
|
|
|
this.auditLogFilterForm.markAsPristine(); |
|
|
|
this.auditLogOverlayRef.dispose(); |
|
|
|
} |
|
|
|
|
|
|
|
update() { |
|
|
|
this.auditLogFilterUpdated(this.auditLogFilterForm.value); |
|
|
|
this.auditLogFilterForm.markAsPristine(); |
|
|
|
this.auditLogOverlayRef.dispose(); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@ -204,6 +204,7 @@ export class CalculatedFieldsFilterConfigComponent implements OnInit, ControlVal |
|
|
|
|
|
|
|
cancel() { |
|
|
|
this.updateCfConfigForm(this.cfFilterConfig); |
|
|
|
this.cfFilterForm.markAsPristine(); |
|
|
|
if (this.overlayRef) { |
|
|
|
this.overlayRef.dispose(); |
|
|
|
} else { |
|
|
|
|
|
|
|
@ -196,6 +196,7 @@ export class DeviceInfoFilterComponent implements OnInit, ControlValueAccessor { |
|
|
|
|
|
|
|
cancel() { |
|
|
|
this.updateDeviceInfoFilterForm(this.deviceInfoFilter); |
|
|
|
this.deviceInfoFilterForm.markAsPristine(); |
|
|
|
if (this.overlayRef) { |
|
|
|
this.overlayRef.dispose(); |
|
|
|
} else { |
|
|
|
|