diff --git a/src/lib/components/backupDatabaseAlert.svelte b/src/lib/components/backupDatabaseAlert.svelte index cc7e2f3263..3ae79f1b0d 100644 --- a/src/lib/components/backupDatabaseAlert.svelte +++ b/src/lib/components/backupDatabaseAlert.svelte @@ -1,7 +1,7 @@ {#if $showPolicyAlert && isCloud && $organization?.$id && page.url.pathname.match(/\/databases\/database-[^/]+$/)} - {@const areBackupsAvailable = $organization?.billingPlanDetails.backupsEnabled} + {@const areBackupsAvailable = $currentPlan?.backupsEnabled} {@const subtitle = !areBackupsAvailable ? 'Upgrade your plan to ensure your data stays safe and backed up'