Skip to content

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

fix: remove connectionString check (#43091)

Vaibhavf53b8f4dd774
diff --git a/apps/studio/data/tables/tables-roles-access-query.ts b/apps/studio/data/tables/tables-roles-access-query.ts
index 32f5255f3b1..408fef212e3 100644
--- a/apps/studio/data/tables/tables-roles-access-query.ts
+++ b/apps/studio/data/tables/tables-roles-access-query.ts
@@ -44,10 +44,6 @@ export const useTablesRolesAccessQuery = <TData = TablesRolesAccessData>(
queryKey: tableKeys.rolesAccess(projectRef, schema),
queryFn: ({ signal }) =>
getTablesWithAnonAuthenticatedAccess({ projectRef, connectionString, schema }, signal),
- enabled:
- enabled &&
- typeof projectRef !== 'undefined' &&
- typeof schema !== 'undefined' &&
- !!connectionString,
+ enabled: enabled && typeof projectRef !== 'undefined' && typeof schema !== 'undefined',
...options,
})