Skip to content

Commit 5abd221

Browse files
committed
fix error
1 parent 9d73ecc commit 5abd221

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/(console)/organization-[organization]/teamReadonlyAlert.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
} from '$lib/stores/billing';
1212
import { base } from '$app/paths';
1313
14-
$: redirectUrl = `${base}/organization-${$organization.$id}/billing#payment-history`;
14+
$: redirectUrl = `${base}/organization-${$organization?.$id}/billing#payment-history`;
1515
</script>
1616

1717
{#if $organization?.$id && $organization?.status === teamStatusReadonly && $organization?.remarks === billingLimitOutstandingInvoice && $readOnly && !hideBillingHeaderRoutes.includes($page.url.pathname)}

0 commit comments

Comments
 (0)