mirror of
https://github.com/tale/headplane.git
synced 2026-08-13 15:07:24 +00:00
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:
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user