Fix for not loading orgs when first creating account

This commit is contained in:
ernstmul
2025-01-22 10:28:32 +01:00
parent e51e0d1ac4
commit 0609a7c315
2 changed files with 3 additions and 6 deletions
+1 -5
View File
@@ -102,11 +102,7 @@
class:is-fixed-layout={$activeHeaderAlert?.show}
style:--p-side-size={sideSize}>
{#if showHeader}
<Navbar
{...navbarProps}
bind:sideBarIsOpen
bind:showAccountMenu
projects={loadedProjects} />
<Navbar {...navbarProps} bind:sideBarIsOpen bind:showAccountMenu />
{/if}
<Sidebar
project={selectedProject}
+2 -1
View File
@@ -51,6 +51,7 @@ export const load: LayoutLoad = async ({ params, fetch, depends, parent }) => {
roles: [],
scopes: [],
projects: projects,
currentProjectId: params.project ?? ''
currentProjectId: params.project ?? '',
organizations: await sdk.forConsole.teams.list()
};
};