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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
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>> { |
|
|
|
|