From 4fa6540fc1914c59ea104d51b32eee7097de834e Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Wed, 29 Sep 2021 09:55:38 +0100 Subject: [PATCH] lint --- packages/builder/src/pages/builder/auth/_layout.svelte | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/builder/src/pages/builder/auth/_layout.svelte b/packages/builder/src/pages/builder/auth/_layout.svelte index 2613b96986..7e8c41d2c5 100644 --- a/packages/builder/src/pages/builder/auth/_layout.svelte +++ b/packages/builder/src/pages/builder/auth/_layout.svelte @@ -12,7 +12,12 @@ } // redirect to account portal for authentication in the cloud - if (!$auth.user && $admin.cloud && $admin.accountPortalUrl && !$admin?.checklist?.sso?.checked) { + if ( + !$auth.user && + $admin.cloud && + $admin.accountPortalUrl && + !$admin?.checklist?.sso?.checked + ) { window.location.href = $admin.accountPortalUrl } })