UI fix updated transport configuration
This commit is contained in:
parent
f3e52cbd3b
commit
31ded103bc
@ -127,8 +127,8 @@ export class DeviceProfileComponent extends EntityComponent<DeviceProfile> {
|
|||||||
|
|
||||||
updateForm(entity: DeviceProfile) {
|
updateForm(entity: DeviceProfile) {
|
||||||
this.entityForm.patchValue({name: entity.name});
|
this.entityForm.patchValue({name: entity.name});
|
||||||
this.entityForm.patchValue({type: entity.type});
|
this.entityForm.patchValue({type: entity.type}, {emitEvent: false});
|
||||||
this.entityForm.patchValue({transportType: entity.transportType});
|
this.entityForm.patchValue({transportType: entity.transportType}, {emitEvent: false});
|
||||||
this.entityForm.patchValue({profileData: entity.profileData});
|
this.entityForm.patchValue({profileData: entity.profileData});
|
||||||
this.entityForm.patchValue({defaultRuleChainId: entity.defaultRuleChainId ? entity.defaultRuleChainId.id : null});
|
this.entityForm.patchValue({defaultRuleChainId: entity.defaultRuleChainId ? entity.defaultRuleChainId.id : null});
|
||||||
this.entityForm.patchValue({description: entity.description});
|
this.entityForm.patchValue({description: entity.description});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user