diff --git a/packages/builder/src/components/login/ForgotForm.svelte b/packages/builder/src/components/login/ForgotForm.svelte index 6eec3b4208..f26c3bfc2b 100644 --- a/packages/builder/src/components/login/ForgotForm.svelte +++ b/packages/builder/src/components/login/ForgotForm.svelte @@ -7,8 +7,7 @@ Body, Heading, } from "@budibase/bbui" - import { organisation } from "stores/portal" - import { auth } from "stores/backend" + import { organisation, auth } from "stores/portal" let email = "" diff --git a/packages/builder/src/components/login/LoginForm.svelte b/packages/builder/src/components/login/LoginForm.svelte index 36b1764241..e81c3411cd 100644 --- a/packages/builder/src/components/login/LoginForm.svelte +++ b/packages/builder/src/components/login/LoginForm.svelte @@ -11,8 +11,7 @@ Heading, } from "@budibase/bbui" import GoogleButton from "./GoogleButton.svelte" - import { auth } from "stores/backend" - import { organisation } from "stores/portal" + import { organisation, auth } from "stores/portal" let username = "" let password = "" diff --git a/packages/builder/src/components/login/ResetForm.svelte b/packages/builder/src/components/login/ResetForm.svelte index 8f82c23193..a0a56a2523 100644 --- a/packages/builder/src/components/login/ResetForm.svelte +++ b/packages/builder/src/components/login/ResetForm.svelte @@ -1,9 +1,8 @@ {#if $auth.user} diff --git a/packages/builder/src/pages/builder/apps/_components/ChangePasswordModal.svelte b/packages/builder/src/pages/builder/apps/_components/ChangePasswordModal.svelte index d1f21d6b5b..bed7e68bbe 100644 --- a/packages/builder/src/pages/builder/apps/_components/ChangePasswordModal.svelte +++ b/packages/builder/src/pages/builder/apps/_components/ChangePasswordModal.svelte @@ -1,12 +1,18 @@ @@ -14,7 +20,7 @@ title="Change password" confirmText="Update password" onConfirm={updatePassword} - disabled={error} + disabled={error || !password} > Enter your new password below. diff --git a/packages/builder/src/pages/builder/apps/_components/UpdateUserInfoModal.svelte b/packages/builder/src/pages/builder/apps/_components/UpdateUserInfoModal.svelte index 21d6797e1f..61446f0c00 100644 --- a/packages/builder/src/pages/builder/apps/_components/UpdateUserInfoModal.svelte +++ b/packages/builder/src/pages/builder/apps/_components/UpdateUserInfoModal.svelte @@ -1,7 +1,7 @@ diff --git a/packages/builder/src/pages/builder/apps/_layout.svelte b/packages/builder/src/pages/builder/apps/_layout.svelte index ece538e0e9..17f70bf815 100644 --- a/packages/builder/src/pages/builder/apps/_layout.svelte +++ b/packages/builder/src/pages/builder/apps/_layout.svelte @@ -1,5 +1,5 @@ {#if $auth.user} diff --git a/packages/builder/src/pages/builder/apps/index.svelte b/packages/builder/src/pages/builder/apps/index.svelte index c22cb88859..4c7871f768 100644 --- a/packages/builder/src/pages/builder/apps/index.svelte +++ b/packages/builder/src/pages/builder/apps/index.svelte @@ -13,8 +13,7 @@ Modal, } from "@budibase/bbui" import { onMount } from "svelte" - import { apps, organisation } from "stores/portal" - import { auth } from "stores/backend" + import { apps, organisation, auth } from "stores/portal" import { goto } from "@roxi/routify" import { AppStatus } from "constants" import { gradient } from "actions" @@ -73,36 +72,45 @@ -
- Apps - +
+
+ +
+ GROUP + {#if $auth.user?.builder?.global} + alert("Navigate to portal group page.")} + /> + {/if} +
+ {#each $apps as app, idx (app.appId)} + + + {:else} + + You don't have access to any apps yet. + The apps you have access to will be listed here. -
+ {/if} diff --git a/packages/builder/src/pages/builder/index.svelte b/packages/builder/src/pages/builder/index.svelte index b84e905ca4..a4fe10f10d 100644 --- a/packages/builder/src/pages/builder/index.svelte +++ b/packages/builder/src/pages/builder/index.svelte @@ -1,6 +1,6 @@