don't smart capitalize friendly names

This commit is contained in:
Josh Hawkins 2025-11-07 10:16:29 -06:00
parent fefb264e55
commit 1918e9682b

View File

@ -720,9 +720,13 @@ function LifecycleIconRow({
backgroundColor: `rgb(${color})`, backgroundColor: `rgb(${color})`,
}} }}
/> />
<span className="smart-capitalize"> <span
{item.data?.zones_friendly_names?.[zidx] ?? className={cn(
zone.replaceAll("_", " ")} item.data?.zones_friendly_names?.[zidx] === zone &&
"smart-capitalize",
)}
>
{item.data?.zones_friendly_names?.[zidx]}
</span> </span>
</Badge> </Badge>
); );