fix(client): keep compare banner exit visible even if label lookup fails

This commit is contained in:
Philipinho
2026-08-11 21:28:06 +01:00
parent 68f1b120b5
commit da90c28923
@@ -76,7 +76,7 @@ export default function HistoryModalBody({ pageId }: Props) {
</nav>
<div style={{ position: "relative", flex: 1 }}>
{comparePair && compareLabel && (
{comparePair && (
<Group
justify="space-between"
wrap="nowrap"
@@ -85,7 +85,7 @@ export default function HistoryModalBody({ pageId }: Props) {
className={classes.compareBanner}
>
<Text size="sm" fw={500} lineClamp={1}>
{compareLabel}
{compareLabel ?? t("Compare versions")}
</Text>
<CloseButton
size="sm"