From 31ded103bcc13cadda8da40140f0dc2b341e4905 Mon Sep 17 00:00:00 2001 From: Vladyslav_Prykhodko Date: Wed, 16 Sep 2020 13:56:37 +0300 Subject: [PATCH] UI fix updated transport configuration --- .../home/components/profile/device-profile.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/profile/device-profile.component.ts b/ui-ngx/src/app/modules/home/components/profile/device-profile.component.ts index d4f5412099..e3c441c8a2 100644 --- a/ui-ngx/src/app/modules/home/components/profile/device-profile.component.ts +++ b/ui-ngx/src/app/modules/home/components/profile/device-profile.component.ts @@ -127,8 +127,8 @@ export class DeviceProfileComponent extends EntityComponent { updateForm(entity: DeviceProfile) { this.entityForm.patchValue({name: entity.name}); - this.entityForm.patchValue({type: entity.type}); - this.entityForm.patchValue({transportType: entity.transportType}); + this.entityForm.patchValue({type: entity.type}, {emitEvent: false}); + this.entityForm.patchValue({transportType: entity.transportType}, {emitEvent: false}); this.entityForm.patchValue({profileData: entity.profileData}); this.entityForm.patchValue({defaultRuleChainId: entity.defaultRuleChainId ? entity.defaultRuleChainId.id : null}); this.entityForm.patchValue({description: entity.description});