Skip to content

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

Fix version checking for pitr

Joshen Lim2aad0f9f49cb
diff --git a/studio/components/interfaces/Billing/AddOns/PITRDurationSelection.tsx b/studio/components/interfaces/Billing/AddOns/PITRDurationSelection.tsx
index cf97a169668..ec5ed6bf2a6 100644
--- a/studio/components/interfaces/Billing/AddOns/PITRDurationSelection.tsx
+++ b/studio/components/interfaces/Billing/AddOns/PITRDurationSelection.tsx
@@ -29,7 +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?.dbVersion ?? '') > 141044
+ const canUsePITR = getSemanticVersion(ui.selectedProject?.dbVersion ?? '') >= 141044
return (
<div className="space-y-4">