Browse Source

UI fix updated transport configuration

pull/3477/head
Vladyslav_Prykhodko 6 years ago
parent
commit
31ded103bc
  1. 4
      ui-ngx/src/app/modules/home/components/profile/device-profile.component.ts

4
ui-ngx/src/app/modules/home/components/profile/device-profile.component.ts

@ -127,8 +127,8 @@ export class DeviceProfileComponent extends EntityComponent<DeviceProfile> {
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});

Loading…
Cancel
Save