Small grammar fix

This commit is contained in:
Joshen Lim committed 2022-10-11 00:23:21 +08:00
1 parent 263975a2d4
commit 644880809d
1 file changed
+3 -1
@@ -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>