Browse Source
Merge pull request #3459 from vvlladd28/improvement/entity-details-panel
Updated order set value in entity-panel
pull/3470/head
Igor Kulikov
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
2 deletions
-
ui-ngx/src/app/modules/home/components/entity/entity-details-panel.component.ts
|
|
|
@ -251,13 +251,14 @@ export class EntityDetailsPanelComponent extends PageComponent implements OnInit |
|
|
|
} |
|
|
|
|
|
|
|
onToggleEditMode(isEdit: boolean) { |
|
|
|
this.isEdit = isEdit; |
|
|
|
if (!this.isEdit) { |
|
|
|
if (!isEdit) { |
|
|
|
this.entityComponent.entity = this.entity; |
|
|
|
if (this.entityTabsComponent) { |
|
|
|
this.entityTabsComponent.entity = this.entity; |
|
|
|
} |
|
|
|
this.isEdit = isEdit; |
|
|
|
} else { |
|
|
|
this.isEdit = isEdit; |
|
|
|
this.editingEntity = deepClone(this.entity); |
|
|
|
this.entityComponent.entity = this.editingEntity; |
|
|
|
if (this.entityTabsComponent) { |
|
|
|
|