From 9f3e86aea86f440cba577e997bbcf6857c2e4db3 Mon Sep 17 00:00:00 2001 From: ArtemDzhereleiko Date: Tue, 14 Sep 2021 18:01:19 +0300 Subject: [PATCH] Fix checkbox Ingerit from owner Divice Profile Alarm Rules --- .../profile/alarm/alarm-duration-predicate-value.component.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui-ngx/src/app/modules/home/components/profile/alarm/alarm-duration-predicate-value.component.ts b/ui-ngx/src/app/modules/home/components/profile/alarm/alarm-duration-predicate-value.component.ts index a0a0a0fbab..a7f46435c2 100644 --- a/ui-ngx/src/app/modules/home/components/profile/alarm/alarm-duration-predicate-value.component.ts +++ b/ui-ngx/src/app/modules/home/components/profile/alarm/alarm-duration-predicate-value.component.ts @@ -127,6 +127,8 @@ export class AlarmDurationPredicateValueComponent implements ControlValueAccesso inherit: predicateValue?.dynamicValue ? predicateValue.dynamicValue.inherit : null } }, {emitEvent: false}); + + this.updateShowInheritMode(this.alarmDurationPredicateValueFormGroup.get('dynamicValue').get('sourceType').value); } private updateModel() {