The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
style: add comma to the Applied to target roles (#36067)
Mohammed Yasin Mulla3c06705a13fc
diff --git a/apps/studio/components/interfaces/Auth/Policies/PolicyTableRow/PolicyRow.tsx b/apps/studio/components/interfaces/Auth/Policies/PolicyTableRow/PolicyRow.tsxindex 473adfc4bed..5c0b93ebab7 100644--- a/apps/studio/components/interfaces/Auth/Policies/PolicyTableRow/PolicyRow.tsx+++ b/apps/studio/components/interfaces/Auth/Policies/PolicyTableRow/PolicyRow.tsx@@ -78,10 +78,10 @@ const PolicyRow = ({<div className="text-foreground-lighter text-sm">Applied to:{' '}{policy.roles.slice(0, 3).map((role, i) => (- <code key={`policy-${role}-${i}`} className="text-foreground-light text-xs">- {role}- {policy.roles.length > 1 ? '' : ' '}- </code>+ <span key={`policy-${role}-${i}`}>+ <code className="text-foreground-light text-xs">{role}</code>+ {i < Math.min(policy.roles.length, 3) - 1 && ', '}+ </span>))}{policy.roles.length > 1 ? 'roles' : 'role'}</div>