diff --git a/packages/bbui/src/ActionMenu/ActionMenu.svelte b/packages/bbui/src/ActionMenu/ActionMenu.svelte index 6947e69a7e..8f17f260a8 100644 --- a/packages/bbui/src/ActionMenu/ActionMenu.svelte +++ b/packages/bbui/src/ActionMenu/ActionMenu.svelte @@ -4,6 +4,7 @@ import Menu from "../Menu/Menu.svelte" export let disabled = false + export let align = "left" let anchor let dropdown @@ -31,7 +32,7 @@
- + diff --git a/packages/builder/src/components/start/BuilderSettingsButton.svelte b/packages/builder/src/components/start/BuilderSettingsButton.svelte deleted file mode 100644 index 45712ad1b4..0000000000 --- a/packages/builder/src/components/start/BuilderSettingsButton.svelte +++ /dev/null @@ -1,15 +0,0 @@ - - -
- -
- - - diff --git a/packages/builder/src/components/start/LogoutButton.svelte b/packages/builder/src/components/start/LogoutButton.svelte deleted file mode 100644 index a281bdbdc9..0000000000 --- a/packages/builder/src/components/start/LogoutButton.svelte +++ /dev/null @@ -1,6 +0,0 @@ - - - diff --git a/packages/builder/src/pages/portal/_layout.svelte b/packages/builder/src/pages/portal/_layout.svelte index 15ccfe8951..61139b3bee 100644 --- a/packages/builder/src/pages/portal/_layout.svelte +++ b/packages/builder/src/pages/portal/_layout.svelte @@ -8,11 +8,14 @@ Layout, SideNavigation as Navigation, SideNavigationItem as Item, + ActionMenu, + MenuItem, + Modal, } from "@budibase/bbui" import ConfigChecklist from "components/common/ConfigChecklist.svelte" import { organisation, apps } from "stores/portal" - import BuilderSettingsButton from "components/start/BuilderSettingsButton.svelte" - import LogoutButton from "components/start/LogoutButton.svelte" + import { auth } from "stores/backend" + import BuilderSettingsModal from "components/start/BuilderSettingsModal.svelte" organisation.init() apps.load() @@ -20,6 +23,7 @@ let orgName let orgLogo let user + let oldSettingsModal async function getInfo() { // fetch orgInfo @@ -64,24 +68,31 @@ {title} {/each} - -
-
- - -
+ +
+ + +
+ + Settings + + Log out +
+ + +