feat: improve the display of entity handles

This commit is contained in:
Maël Gangloff
2024-12-23 15:14:23 +01:00
parent 2a64bcecee
commit 5f30b7b173
4 changed files with 13 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
export const rolesToColor = (roles: string[]) => roles.includes('registrant') ? 'green' :
roles.includes('technical') ? 'orange' :
roles.includes('registrar') ? 'purple' :
roles.includes('administrative') ? 'blue' :
roles.includes('registrar') ? 'purple' :
roles.includes('technical') ? 'orange' :
roles.includes('sponsor') ? 'magenta' :
roles.includes('billing') ? 'cyan' : 'default'