Skip to content

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

Don't update url if we can't change date range

Terry Suttone10b80597d2a
diff --git a/studio/components/interfaces/Settings/Logs/PreviewFilterPanel.tsx b/studio/components/interfaces/Settings/Logs/PreviewFilterPanel.tsx
index 1fb245ccff3..8d500af379a 100644
--- a/studio/components/interfaces/Settings/Logs/PreviewFilterPanel.tsx
+++ b/studio/components/interfaces/Settings/Logs/PreviewFilterPanel.tsx
@@ -117,7 +117,9 @@ const PreviewFilterPanel: FC<Props> = ({
setShowUpgradePrompt(!showUpgradePrompt)
}
- onSearch({ query: search, to: partial?.to || null, from: partial?.from || null })
+ if (!shouldShowUpgradePrompt) {
+ onSearch({ query: search, to: partial?.to || null, from: partial?.from || null })
+ }
}
return (
<div