From ad8b9e0618333cd98cd43e408b6bc34e694f8741 Mon Sep 17 00:00:00 2001 From: JesmoDev Date: Tue, 17 May 2022 13:29:09 +0200 Subject: [PATCH] fix app login --- .../src/auth/login/umb-login.element.ts | 2 +- src/Umbraco.Web.UI.Client/src/umb-app.ts | 16 +++++++++------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/auth/login/umb-login.element.ts b/src/Umbraco.Web.UI.Client/src/auth/login/umb-login.element.ts index 093cc752df..b223acb143 100644 --- a/src/Umbraco.Web.UI.Client/src/auth/login/umb-login.element.ts +++ b/src/Umbraco.Web.UI.Client/src/auth/login/umb-login.element.ts @@ -60,7 +60,7 @@ export class UmbLogin extends LitElement { 'Happy wonderful Wednesday', 'Happy thunderous Thursday', 'Happy funky Friday', - 'Happy Caturday', + 'Happy Saturday', ]; @state() diff --git a/src/Umbraco.Web.UI.Client/src/umb-app.ts b/src/Umbraco.Web.UI.Client/src/umb-app.ts index 68f5b31d97..e5bf0806d4 100644 --- a/src/Umbraco.Web.UI.Client/src/umb-app.ts +++ b/src/Umbraco.Web.UI.Client/src/umb-app.ts @@ -52,14 +52,16 @@ export class UmbApp extends LitElement { this._getUser(); }; + private _renderBackoffice = () => html`hej`; + + private _renderAuth = () => html` + + + + `; + render() { - return html` - ${this._authorized - ? html` - - ` - : html`hej`} - `; + return html` ${this._authorized ? this._renderBackoffice() : this._renderAuth()} `; } }