mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
Fix for not loading orgs when first creating account
This commit is contained in:
@@ -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}
|
||||
|
||||
@@ -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()
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user