mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
feat: add DomainLifecycleSteps
This commit is contained in:
5
assets/utils/functions/eppStatusCodeToColor.tsx
Normal file
5
assets/utils/functions/eppStatusCodeToColor.tsx
Normal file
@@ -0,0 +1,5 @@
|
||||
export const eppStatusCodeToColor = (s: string) =>
|
||||
['active', 'ok'].includes(s) ? 'green' :
|
||||
s.startsWith('client') ? 'purple' :
|
||||
s.startsWith('server') ? 'geekblue' :
|
||||
s.includes('prohibited') ? 'red' : 'blue'
|
||||
Reference in New Issue
Block a user