Skip to content

Commit 15b637f

Browse files
committed
fix: regression from @2043.
1 parent 223ef63 commit 15b637f

File tree

1 file changed

+3
-1
lines changed
  • src/routes/(console)/project-[region]-[project]

1 file changed

+3
-1
lines changed

src/routes/(console)/project-[region]-[project]/+layout.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ export const load: LayoutLoad = async ({ params, depends, parent }) => {
3434
// fetch if not available in `plansInfo`
3535
includedInBasePlans
3636
? plansInfo.get(organization.billingPlan)
37-
: sdk.forConsole.billing.getOrganizationPlan(organization.$id),
37+
: isCloud
38+
? sdk.forConsole.billing.getOrganizationPlan(organization.$id)
39+
: null,
3840

3941
loadAvailableRegions(project.teamId)
4042
]);

0 commit comments

Comments
 (0)