Browse Source

Merge pull request #11393 from rusikv/enhancement/hide-details-panel-tabs

Hide details panel/page tabs if no additional tabs present
pull/11413/head
Igor Kulikov 2 years ago
committed by GitHub
parent
commit
1c7d78fc5f
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      ui-ngx/src/app/modules/home/components/entity/entity-details-panel.component.ts

2
ui-ngx/src/app/modules/home/components/entity/entity-details-panel.component.ts

@ -228,7 +228,7 @@ export class EntityDetailsPanelComponent extends PageComponent implements AfterV
}
hideDetailsTabs(): boolean {
return this.isEditValue && this.entitiesTableConfig.hideDetailsTabsOnEdit;
return !this.entityTabsComponent || this.isEditValue && this.entitiesTableConfig.hideDetailsTabsOnEdit;
}
reloadEntity(): Observable<BaseData<HasId>> {

Loading…
Cancel
Save