Skip to content

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

chore: remove tierKey from backups (#41407)

Ignacio Dobronich7535c0eeb4e4
diff --git a/apps/studio/components/interfaces/Database/Backups/BackupsList.tsx b/apps/studio/components/interfaces/Database/Backups/BackupsList.tsx
index 96421f09e2b..1caaf86a565 100644
--- a/apps/studio/components/interfaces/Database/Backups/BackupsList.tsx
+++ b/apps/studio/components/interfaces/Database/Backups/BackupsList.tsx
@@ -49,7 +49,6 @@ export const BackupsList = () => {
},
})
- const planKey = backups?.tierKey ?? ''
const sortedBackups = (backups?.backups ?? []).sort(
(a, b) => new Date(b.inserted_at).valueOf() - new Date(a.inserted_at).valueOf()
)
@@ -74,7 +73,7 @@ export const BackupsList = () => {
return (
<>
<div className="space-y-6">
- {sortedBackups.length === 0 && planKey !== 'FREE' ? (
+ {sortedBackups.length === 0 ? (
<BackupsEmpty />
) : (
<>