correct tabs rendering

This commit is contained in:
Niels Lyngsø
2023-06-09 22:52:50 +02:00
parent f81985245c
commit d31de864fa

View File

@@ -116,9 +116,9 @@ export class UmbDocumentWorkspaceViewEditElement
if (!this._routes || !this._tabs) return;
return html`
<umb-body-layout header-fit-height>
${this._routerPath && this._tabs.length > 1
${this._routerPath && (this._tabs.length > 0 || this._hasRootGroups)
? html` <uui-tab-group slot="header">
${this._hasRootGroups && this._tabs.length > 1
${this._hasRootGroups && this._tabs.length > 0
? html`
<uui-tab
label="Content"