mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
fix: display an icon even if the event action is not standard
This commit is contained in:
@@ -14,8 +14,9 @@ export function EntitiesList({domain}: { domain: Domain }) {
|
||||
|
||||
const roleToTag = (r: string) => <Tooltip
|
||||
title={r in rdapRoleDetailTranslated ? rdapRoleDetailTranslated[r as keyof typeof rdapRoleDetailTranslated] : undefined}>
|
||||
<Tag
|
||||
color={rolesToColor([r])}>{rdapRoleTranslated[r as keyof typeof rdapRoleTranslated]}</Tag>
|
||||
<Tag color={rolesToColor([r])}>{
|
||||
r in rdapRoleTranslated ? rdapRoleTranslated[r as keyof typeof rdapRoleTranslated] : r
|
||||
}</Tag>
|
||||
</Tooltip>
|
||||
|
||||
return <List
|
||||
|
||||
Reference in New Issue
Block a user