Skip to content

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

fix: SQL filters now filtering again

Jonathan Summers-Muir93fdf9d52466
diff --git a/studio/components/interfaces/Settings/Logs/LogsPreviewer.tsx b/studio/components/interfaces/Settings/Logs/LogsPreviewer.tsx
index 450415240e5..4fc6e5abd4e 100644
--- a/studio/components/interfaces/Settings/Logs/LogsPreviewer.tsx
+++ b/studio/components/interfaces/Settings/Logs/LogsPreviewer.tsx
@@ -87,10 +87,10 @@ export const LogsPreviewer: React.FC<Props> = ({ projectRef, queryType, override
setFilters((prev) => ({ ...prev, search_query: template.searchString }))
}
- // useEffect(() => {
- // // runs when any of the filters change
- // handleRefresh()
- // }, [whereFilters])
+ useEffect(() => {
+ // runs when any of the filters change
+ handleRefresh()
+ }, [whereFilters])
const handleRefresh = () => {
refresh()