improvement: some files replaced, lots of them i shall say. AGENT.MD file created. some rules and skills added for cursor agent.
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import type { BadgeVariant } from '@/components/ui/shared/Badge';
|
||||
|
||||
/** Map organization connection / invitation row status to badge variant. */
|
||||
export function organizationConnectionStatusVariant(status: string): BadgeVariant {
|
||||
switch (status) {
|
||||
case 'ACTIVE':
|
||||
return 'success';
|
||||
case 'PENDING':
|
||||
return 'warning';
|
||||
case 'REJECTED':
|
||||
case 'EXPIRED':
|
||||
return 'danger';
|
||||
default:
|
||||
return 'default';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user