fix: rename pending approval to no access

Member role simply has no UI permissions — not a pending state.

Co-authored-by: Amp <amp@ampcode.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019cce57-c9e1-7732-9709-8288127573a9
This commit is contained in:
Aarnav Tale
2026-03-08 01:55:38 -05:00
parent 270b99f063
commit a1efe36ff1
2 changed files with 6 additions and 14 deletions
+1 -6
View File
@@ -90,12 +90,7 @@ function mapRoleToName(role: string) {
case "auditor":
return "Auditor";
case "member":
return (
<span className="inline-flex items-center gap-1.5">
<span className="h-2 w-2 animate-pulse rounded-full bg-amber-500" />
<span className="text-amber-600 dark:text-amber-400">Pending Approval</span>
</span>
);
return <p className="opacity-50">No Access</p>;
default:
return "Unknown";
}