The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.
TypeScript budget-trackercollaborativedockeritinerarymcp-serveroffline-firstopen-sourceopenstreetmappacking-listpwareal-timeself-hostedselfhostedtraveltravel-apptravel-journaltravel-plannertripitwanderlog
fix(dashboard): keep the generic line up through the stats slot for travelers with no places yet
Mauricec541c158df32
diff --git a/client/src/components/FourZero/NoFearShow.tsx b/client/src/components/FourZero/NoFearShow.tsxindex 3ed54ad72..6bf5605b8 100644--- a/client/src/components/FourZero/NoFearShow.tsx+++ b/client/src/components/FourZero/NoFearShow.tsx@@ -217,9 +217,10 @@ export default function NoFearShow({ onClose }: { onClose: () => void }) {const cue = cueIdx >= 0 ? CUES[cueIdx] : nullconst lineKey = cue?.line ?? null// The personal-stats line only exists when the traveler's data arrived; the- // yourPlaces line falls back to the generic "every light" line without it.+ // yourPlaces line falls back to the generic "every light" line without it,+ // and that line simply stays up through the stats slot (same text = no remount).let lineText: string | null = null- if (lineKey === 'yourStatsCountries') lineText = statsRef.current?.line ?? null+ if (lineKey === 'yourStatsCountries') lineText = statsRef.current?.line ?? copy.lines.everyDotelse if (lineKey === 'yourPlaces') lineText = statsRef.current ? copy.lines.yourPlaces : copy.lines.everyDotelse if (lineKey) lineText = copy.lines[lineKey]const hard = !!cue?.hard@@ -241,7 +242,7 @@ export default function NoFearShow({ onClose }: { onClose: () => void }) {{/* The lines. */}{!anthem && lineText && flashIdx < 0 && (<div className="fz-line-wrap" aria-live="polite">- <p key={lineKey} className={`fz-line ${hard ? 'fz-line-hard' : ''}`}>{lineText}</p>+ <p key={lineText} className={`fz-line ${hard ? 'fz-line-hard' : ''}`}>{lineText}</p></div>)}