From dfa23cb8fe0343663cbbd7eb52e7874941830867 Mon Sep 17 00:00:00 2001 From: Harsh Mahajan Date: Mon, 16 Feb 2026 12:17:26 +0530 Subject: [PATCH] fix: use currentPlan for backup banner availability --- src/lib/components/backupDatabaseAlert.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'