Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore: do not list out valid logical backups if PITR is already enabled

dragarciac5b6ef345972
diff --git a/studio/components/interfaces/Database/Backups/BackupsList.tsx b/studio/components/interfaces/Database/Backups/BackupsList.tsx
index 4bf28b80dee..7f3475989e9 100644
--- a/studio/components/interfaces/Database/Backups/BackupsList.tsx
+++ b/studio/components/interfaces/Database/Backups/BackupsList.tsx
@@ -41,14 +41,14 @@ const BackupsList = () => {
)
}
+ if (isPitrEnabled) {
+ return <></>
+ }
+
return (
<div className="space-y-6">
{!sortedBackups?.length && tierKey !== 'FREE' ? (
- !isPitrEnabled ? (
- <BackupsEmpty />
- ) : (
- <></>
- )
+ <BackupsEmpty />
) : (
<>
{!canTriggerScheduledBackups && (