diff --git a/src/components/header.ts b/src/components/header.ts index db7751d..d883e97 100644 --- a/src/components/header.ts +++ b/src/components/header.ts @@ -25,6 +25,8 @@ export default function renderHeader({ icon = icon?.[action] ?? false } + const name = header?.name ?? false + return html`
`) || ''} -

${header?.name}

+ ${name ? html`

${name}

` : nothing}
${renderFaults({ faults: header.faults, openEntityPopover })} ${header.toggle