diff --git a/web/src/elements/Tabs.ts b/web/src/elements/Tabs.ts index da4bbe612..aeffb18c5 100644 --- a/web/src/elements/Tabs.ts +++ b/web/src/elements/Tabs.ts @@ -28,7 +28,7 @@ export class Tabs extends LitElement { } render(): TemplateResult { - const pages = Array.from(this.querySelectorAll("[slot]")); + const pages = Array.from(this.querySelectorAll("[slot^='page-']")); if (!this.currentPage) { if (pages.length < 1) { return html`
${this.application.name}
@@ -92,8 +92,8 @@ export class LibraryPage extends LitElement {