diff --git a/frontend/src/components/ReleaseNotes.tsx b/frontend/src/components/ReleaseNotes.tsx index 0934dda..19d1d6c 100644 --- a/frontend/src/components/ReleaseNotes.tsx +++ b/frontend/src/components/ReleaseNotes.tsx @@ -20,13 +20,19 @@ export default function ReleaseNotes({ highlight?: string; }) { const { t } = useTranslation(); + // Ring the newest note if `highlight` isn't one of the listed versions — e.g. a Vite dev build + // where the caller's FRONTEND_VERSION is "dev", or a VERSION bump whose note hasn't landed yet — + // so the banner always rings *something* current instead of nothing. + const active = RELEASE_NOTES.some((r) => r.version === highlight) + ? highlight + : RELEASE_NOTES[0]?.version; return (
{RELEASE_NOTES.map((r) => (

v{r.version}