Skip to content

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

Added config flag to query params dependency list

TzeYiingb21775e48ba8
diff --git a/studio/pages/project/[ref]/settings/logs/[type].tsx b/studio/pages/project/[ref]/settings/logs/[type].tsx
index afba942cf2f..e38249e0bcc 100644
--- a/studio/pages/project/[ref]/settings/logs/[type].tsx
+++ b/studio/pages/project/[ref]/settings/logs/[type].tsx
@@ -76,8 +76,7 @@ export const LogPage: NextPage = () => {
mode: 'custom',
searchString: q as string,
})
- }
- if (!q && s) {
+ } else if (s) {
onSelectTemplate({
mode: 'simple',
searchString: s as string,
@@ -86,8 +85,7 @@ export const LogPage: NextPage = () => {
if (ts) {
setParams({ ...params, timestamp_start: ts as string })
}
- //
- }, [])
+ }, [logsQueryParamsSyncing])
const genQueryParams = (params: { [k: string]: string }) => {
// remove keys which are empty strings, null, or undefined