Skip to content

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

Small grammar fix

Joshen Lim644880809d52
diff --git a/studio/components/interfaces/TableGridEditor/GridHeaderActions.tsx b/studio/components/interfaces/TableGridEditor/GridHeaderActions.tsx
index 055a08a144c..591e3a13590 100644
--- a/studio/components/interfaces/TableGridEditor/GridHeaderActions.tsx
+++ b/studio/components/interfaces/TableGridEditor/GridHeaderActions.tsx
@@ -29,7 +29,9 @@ const GridHeaderActions: FC<Props> = ({ table }) => {
}
>
{/* RLS {table.rls_enabled ? 'is' : 'not'} enabled */}
- {!table.rls_enabled ? 'RLS is not enabled' : `${policies.length} active RLS policies`}
+ {!table.rls_enabled
+ ? 'RLS is not enabled'
+ : `${policies.length} active RLS polic${policies.length > 1 ? 'ies' : 'y'}`}
</Button>
</a>
</Link>