Commit 31ded103bcc13cadda8da40140f0dc2b341e4905
1 parent
f3e52cbd
UI fix updated transport configuration
Showing
1 changed file
with
2 additions
and
2 deletions
@@ -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}); |