diff --git a/src/components/Canary/renderers.tsx b/src/components/Canary/renderers.tsx index fda97f7e3..787fcdc5d 100644 --- a/src/components/Canary/renderers.tsx +++ b/src/components/Canary/renderers.tsx @@ -131,10 +131,41 @@ export function CanaryCheckName({ title, isDeleted }: CanaryCheckNameProps) { + const hasSlash = title.includes("/"); + + if (hasSlash) { + const parts = title.split("/"); + return ( + <> + {icon && } + {parts.map((part, idx) => { + // if not last part + if (idx !== parts.length - 1) { + return ( + <> + + {part} + + / + + ); + } + // last part + return ( + + {part} + + ); + })} + {isDeleted && } + + ); + } + return ( <> {icon && } - {title} {isDeleted && } + {title} {isDeleted && } ); }