Skip to content

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

Fix messaging in table editor

Joshen Limf00e594cf3ea
diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/TableEditor.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/TableEditor.tsx
index 7f021b47133..6f6680e8f55 100644
--- a/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/TableEditor.tsx
+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/TableEditor.tsx
@@ -273,7 +273,10 @@ const TableEditor: FC<Props> = ({
className="!px-4 !py-3 mt-3"
title="You are allowing anonymous access to your table"
>
- <p>The table foo will be publicly writable and readable</p>
+ <p>
+ {tableFields.name ? `The table ${tableFields.name}` : 'Your table'} will be
+ publicly writable and readable
+ </p>
<p className="mt-4">
<Link href="https://supabase.com/docs/guides/auth/row-level-security">
<a target="_blank">