From 44cfd7e5b0e18e2d3db4f21549f577f3d9dd5188 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 14 Dec 2021 15:23:20 +0100 Subject: [PATCH] web: accept header as slot in PageHeader Signed-off-by: Jens Langhammer --- web/src/elements/PageHeader.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/web/src/elements/PageHeader.ts b/web/src/elements/PageHeader.ts index 6421fb835..17042ff61 100644 --- a/web/src/elements/PageHeader.ts +++ b/web/src/elements/PageHeader.ts @@ -133,7 +133,10 @@ export class PageHeader extends LitElement {
-

${this.renderIcon()} ${this.header}

+

+ ${this.renderIcon()} + ${this.header} +

${this.description ? html`

${this.description}

` : html``}