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 = ({ 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'}`}