diff --git a/web/src/flow/FormStatic.ts b/web/src/flow/FormStatic.ts index 8ba7a8302..df9a8d674 100644 --- a/web/src/flow/FormStatic.ts +++ b/web/src/flow/FormStatic.ts @@ -14,7 +14,7 @@ export class FormStatic extends AKElement { userAvatar?: string; @property() - user = ""; + user?: string; static get styles(): CSSResult[] { return [ @@ -44,6 +44,9 @@ export class FormStatic extends AKElement { } render(): TemplateResult { + if (!this.user) { + return html``; + } return html`
diff --git a/web/src/flow/stages/access_denied/AccessDeniedStage.ts b/web/src/flow/stages/access_denied/AccessDeniedStage.ts index 437dcd7a2..cb74205f8 100644 --- a/web/src/flow/stages/access_denied/AccessDeniedStage.ts +++ b/web/src/flow/stages/access_denied/AccessDeniedStage.ts @@ -59,7 +59,6 @@ export class AccessDeniedStage extends BaseStage< - ` : html``} +