mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
Fix for not loading orgs when first creating account
This commit is contained in:
1 parent
e51e0d1ac4
commit
0609a7c315
2 files changed
+3
-6
No files matched your search
@@ -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