The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Change table header for security type (#17848)
Terry Suttonda37e0423eb7
diff --git a/studio/components/interfaces/Database/Functions/FunctionsList/FunctionList.tsx b/studio/components/interfaces/Database/Functions/FunctionsList/FunctionList.tsxindex fcf64dedfb8..3a0ffb3b1eb 100644--- a/studio/components/interfaces/Database/Functions/FunctionsList/FunctionList.tsx+++ b/studio/components/interfaces/Database/Functions/FunctionsList/FunctionList.tsx@@ -93,9 +93,7 @@ const FunctionList = ({<p title={x.return_type}>{x.return_type}</p></Table.td><Table.td className="hidden lg:table-cell">- <div className="flex justify-center">- {x.security_definer ? <IconCheck strokeWidth={1.5} className="text-brand" /> : null}- </div>+ {x.security_definer ? 'Definer' : 'Invoker'}</Table.td><Table.td className="text-right">{!isLocked && (diff --git a/studio/components/interfaces/Database/Functions/FunctionsList/FunctionsList.tsx b/studio/components/interfaces/Database/Functions/FunctionsList/FunctionsList.tsxindex 9c5083078bc..5c30bcd2918 100644--- a/studio/components/interfaces/Database/Functions/FunctionsList/FunctionsList.tsx+++ b/studio/components/interfaces/Database/Functions/FunctionsList/FunctionsList.tsx@@ -178,7 +178,7 @@ const FunctionsList = ({Return type</Table.th><Table.th key="return_type" className="hidden lg:table-cell w-[100px]">- <p className="text-center">Definer</p>+ Security</Table.th><Table.th key="buttons" className="w-1/6"></Table.th></>