Commit 31ded103bcc13cadda8da40140f0dc2b341e4905

Authored by Vladyslav_Prykhodko
1 parent f3e52cbd

UI fix updated transport configuration

@@ -127,8 +127,8 @@ export class DeviceProfileComponent extends EntityComponent<DeviceProfile> { @@ -127,8 +127,8 @@ export class DeviceProfileComponent extends EntityComponent<DeviceProfile> {
127 127
128 updateForm(entity: DeviceProfile) { 128 updateForm(entity: DeviceProfile) {
129 this.entityForm.patchValue({name: entity.name}); 129 this.entityForm.patchValue({name: entity.name});
130 - this.entityForm.patchValue({type: entity.type});  
131 - this.entityForm.patchValue({transportType: entity.transportType}); 130 + this.entityForm.patchValue({type: entity.type}, {emitEvent: false});
  131 + this.entityForm.patchValue({transportType: entity.transportType}, {emitEvent: false});
132 this.entityForm.patchValue({profileData: entity.profileData}); 132 this.entityForm.patchValue({profileData: entity.profileData});
133 this.entityForm.patchValue({defaultRuleChainId: entity.defaultRuleChainId ? entity.defaultRuleChainId.id : null}); 133 this.entityForm.patchValue({defaultRuleChainId: entity.defaultRuleChainId ? entity.defaultRuleChainId.id : null});
134 this.entityForm.patchValue({description: entity.description}); 134 this.entityForm.patchValue({description: entity.description});