The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: policy urls (#46064)
Vaibhavf8f948a2a46d
diff --git a/apps/studio/components/layouts/TableEditorLayout/EntityListItem.tsx b/apps/studio/components/layouts/TableEditorLayout/EntityListItem.tsxindex 699b144679e..8308876173c 100644--- a/apps/studio/components/layouts/TableEditorLayout/EntityListItem.tsx+++ b/apps/studio/components/layouts/TableEditorLayout/EntityListItem.tsx@@ -318,7 +318,7 @@ export const EntityListItem = ({<DropdownMenuItem key="view-policies" className="space-x-2" asChild><Linkkey="view-policies"- href={`/project/${projectRef}/auth/policies?schema=${selectedSchema}&search=${entity.id}`}+ href={`/project/${projectRef}/auth/policies?schema=${encodeURIComponent(selectedSchema ?? '')}&search=${encodeURIComponent(String(entity.id))}`}><Lock size={12} /><span>View policies</span>