Skip to content

Commit f798c50

Browse files
committed
fix: project loading state as per updated org ID. LAST FIX.
1 parent 67ed991 commit f798c50

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/routes/(console)/+layout.svelte

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,8 @@
319319
$: projects = sdk.forConsole.projects.list([
320320
Query.equal(
321321
'teamId',
322-
data.currentOrgId ?? currentOrganizationId ?? page.params.organization
322+
// id from page params ?? id from store ?? id from preferences
323+
page.params.organization ?? currentOrganizationId ?? data.currentOrgId
323324
),
324325
Query.limit(5),
325326
Query.orderDesc('$updatedAt')

0 commit comments

Comments
 (0)