Skip to content

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

Fix wrong semver checking for pitr

Joshen Lim85c3089724a6
diff --git a/studio/components/interfaces/Billing/AddOns/PITRDurationSelection.tsx b/studio/components/interfaces/Billing/AddOns/PITRDurationSelection.tsx
index ae760d4fb46..5f35d71f5f7 100644
--- a/studio/components/interfaces/Billing/AddOns/PITRDurationSelection.tsx
+++ b/studio/components/interfaces/Billing/AddOns/PITRDurationSelection.tsx
@@ -29,8 +29,7 @@ const PITRDurationSelection: FC<Props> = ({
const addonUpdateDisabled = useFlag('disableProjectCreationAndUpdate')
// Only projects of version greater than supabase-postgrest-14.1.0.44 can use PITR
- // const canUsePITR = getSemanticVersion(ui.selectedProject?.kpsVersion ?? '') > 141044
- const canUsePITR = false
+ const canUsePITR = getSemanticVersion(ui.selectedProject?.kpsVersion ?? '') > 141044
return (
<div className="space-y-4">