fix tabs bar displaying

This commit is contained in:
Niels Lyngsø
2023-08-28 20:16:30 +02:00
parent 6587865f31
commit a6b93e4cf5

View File

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