Loading…
) : history.isError || !history.data ? (History unavailable.
+ ) : history.data.points.length < 2 ? ( ++ Only {history.data.points.length} snapshot in the window — the + chart needs at least two daily points to draw a line. The + Wealthfolio CronJob writes one snapshot per day, so this fills + in over time. +
) : (diff --git a/frontend/src/pages/SettingsTab.tsx b/frontend/src/pages/SettingsTab.tsx index d47db96..4731d5d 100644 --- a/frontend/src/pages/SettingsTab.tsx +++ b/frontend/src/pages/SettingsTab.tsx @@ -9,7 +9,7 @@ export function SettingsTab() { const params = useParams<{ id: string }>(); const id = Number(params.id); const items = [ - { to: `/scenarios/${id}/settings`, label: 'Milestones', end: true }, + { to: `/scenarios/${id}/settings/milestones`, label: 'Milestones' }, { to: `/scenarios/${id}/settings/rates`, label: 'Rates' }, { to: `/scenarios/${id}/settings/notes`, label: 'Notes' }, { to: `/scenarios/${id}/settings/dividends`, label: 'Dividends', stub: true },