diff --git a/packages/auth/src/index.js b/packages/auth/src/index.js index 51fa0aad18..b94a02ea7d 100644 --- a/packages/auth/src/index.js +++ b/packages/auth/src/index.js @@ -7,7 +7,7 @@ const { StaticDatabases } = require("./db/utils") const { jwt, local, google, authenticated } = require("./middleware") const { Cookies, UserStatus } = require("./constants") const { hash, compare } = require("./hashing") -const { getAppId, setCookie, getCookie } = require("./utils") +const { getAppId, setCookie, getCookie, clearCookie } = require("./utils") const { generateUserID, getUserParams, @@ -46,5 +46,6 @@ module.exports = { getAppId, setCookie, getCookie, + clearCookie, authenticated, } diff --git a/packages/builder/src/builderStore/dataBinding.js b/packages/builder/src/builderStore/dataBinding.js index 696d83932a..58c4d8f4b6 100644 --- a/packages/builder/src/builderStore/dataBinding.js +++ b/packages/builder/src/builderStore/dataBinding.js @@ -2,10 +2,7 @@ import { cloneDeep } from "lodash/fp" import { get } from "svelte/store" import { findComponent, findComponentPath } from "./storeUtils" import { store } from "builderStore" -import { - tables as tablesStore, - queries as queriesStores, -} from "stores/backend" +import { tables as tablesStore, queries as queriesStores } from "stores/backend" import { makePropSafe } from "@budibase/string-templates" import { TableNames } from "../constants" diff --git a/packages/builder/src/components/login/index.js b/packages/builder/src/components/login/index.js index 9c9e708614..6a35637cea 100644 --- a/packages/builder/src/components/login/index.js +++ b/packages/builder/src/components/login/index.js @@ -1 +1 @@ -export { LoginForm } from "./LoginForm.svelte" \ No newline at end of file +export { LoginForm } from "./LoginForm.svelte" diff --git a/packages/builder/src/components/start/LogoutButton.svelte b/packages/builder/src/components/start/LogoutButton.svelte new file mode 100644 index 0000000000..732b34e533 --- /dev/null +++ b/packages/builder/src/components/start/LogoutButton.svelte @@ -0,0 +1,28 @@ + + +
+ +
+ + diff --git a/packages/builder/src/pages/builder/[application]/data/datasource/index.svelte b/packages/builder/src/pages/builder/[application]/data/datasource/index.svelte index 9bf0f1325c..8cf45eef07 100644 --- a/packages/builder/src/pages/builder/[application]/data/datasource/index.svelte +++ b/packages/builder/src/pages/builder/[application]/data/datasource/index.svelte @@ -11,9 +11,7 @@ {#if $datasources.list.length === 0} Connect your first datasource to start building. -{:else} - Select a datasource to edit -{/if} +{:else}Select a datasource to edit{/if}