diff --git a/src/routes/(console)/+layout.svelte b/src/routes/(console)/+layout.svelte index c7d53d7e0..4a6d3ac3b 100644 --- a/src/routes/(console)/+layout.svelte +++ b/src/routes/(console)/+layout.svelte @@ -319,7 +319,8 @@ $: projects = sdk.forConsole.projects.list([ Query.equal( 'teamId', - data.currentOrgId ?? currentOrganizationId ?? page.params.organization + // id from page params ?? id from store ?? id from preferences + page.params.organization ?? currentOrganizationId ?? data.currentOrgId ), Query.limit(5), Query.orderDesc('$updatedAt')