From 8121528f76b197736bffa25a6ee9f13f37fec95a Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Wed, 21 Jul 2021 18:24:58 +0100 Subject: [PATCH] Linting. --- packages/builder/src/pages/builder/auth/forgot.svelte | 10 ++++------ packages/builder/src/pages/builder/auth/login.svelte | 2 +- .../src/pages/builder/portal/manage/auth/index.svelte | 6 ++---- 3 files changed, 7 insertions(+), 11 deletions(-) diff --git a/packages/builder/src/pages/builder/auth/forgot.svelte b/packages/builder/src/pages/builder/auth/forgot.svelte index 4cbd4c243b..2503a99eb2 100644 --- a/packages/builder/src/pages/builder/auth/forgot.svelte +++ b/packages/builder/src/pages/builder/auth/forgot.svelte @@ -8,10 +8,10 @@ Heading, ActionButton, } from "@budibase/bbui" - import {organisation, auth} from "stores/portal" + import { organisation, auth } from "stores/portal" import Logo from "assets/bb-emblem.svg" - import {onMount} from "svelte" - import {goto} from "@roxi/routify" + import { onMount } from "svelte" + import { goto } from "@roxi/routify" let email = "" @@ -47,9 +47,7 @@ - $goto("../")}> - Back - + $goto("../")}>Back diff --git a/packages/builder/src/pages/builder/auth/login.svelte b/packages/builder/src/pages/builder/auth/login.svelte index 66d8af5892..2dc3781e30 100644 --- a/packages/builder/src/pages/builder/auth/login.svelte +++ b/packages/builder/src/pages/builder/auth/login.svelte @@ -10,7 +10,7 @@ notifications, } from "@budibase/bbui" import { goto, params } from "@roxi/routify" - import {auth, organisation, oidc, admin} from "stores/portal" + import { auth, organisation, oidc, admin } from "stores/portal" import GoogleButton from "./_components/GoogleButton.svelte" import OIDCButton from "./_components/OIDCButton.svelte" import Logo from "assets/bb-emblem.svg" diff --git a/packages/builder/src/pages/builder/portal/manage/auth/index.svelte b/packages/builder/src/pages/builder/portal/manage/auth/index.svelte index c46b27a4de..0c89528c91 100644 --- a/packages/builder/src/pages/builder/portal/manage/auth/index.svelte +++ b/packages/builder/src/pages/builder/portal/manage/auth/index.svelte @@ -113,15 +113,13 @@ // Create a flag so that it will only try to save completed forms $: partialGoogle = - providers.google?.config?.clientID || - providers.google?.config?.clientSecret + providers.google?.config?.clientID || providers.google?.config?.clientSecret $: partialOidc = providers.oidc?.config?.configs[0].configUrl || providers.oidc?.config?.configs[0].clientID || providers.oidc?.config?.configs[0].clientSecret $: googleComplete = - providers.google?.config?.clientID && - providers.google?.config?.clientSecret + providers.google?.config?.clientID && providers.google?.config?.clientSecret $: oidcComplete = providers.oidc?.config?.configs[0].configUrl && providers.oidc?.config?.configs[0].clientID &&