We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d73ecc commit 5abd221Copy full SHA for 5abd221
src/routes/(console)/organization-[organization]/teamReadonlyAlert.svelte
@@ -11,7 +11,7 @@
11
} from '$lib/stores/billing';
12
import { base } from '$app/paths';
13
14
- $: redirectUrl = `${base}/organization-${$organization.$id}/billing#payment-history`;
+ $: redirectUrl = `${base}/organization-${$organization?.$id}/billing#payment-history`;
15
</script>
16
17
{#if $organization?.$id && $organization?.status === teamStatusReadonly && $organization?.remarks === billingLimitOutstandingInvoice && $readOnly && !hideBillingHeaderRoutes.includes($page.url.pathname)}
0 commit comments