From 644880809d52e0a476f1a26bb9983a486bb3518e Mon Sep 17 00:00:00 2001 From: Joshen Lim Date: Mon, 10 Oct 2022 17:56:40 +0800 Subject: [PATCH] Small grammar fix --- .../interfaces/TableGridEditor/GridHeaderActions.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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'}`}