mirror of
https://github.com/we-promise/sure.git
synced 2026-09-02 13:21:17 +00:00
The selected view lives only in the request params, so a reload renders the
default "Total value" chart. Browsers restore form control state on reload,
which left the selector showing the previously picked view while the chart
below it showed the total value. Opting the select out of autocomplete makes
it fall back to the server-rendered default alongside the chart.
Also switch the selector labels and the empty state to absolute i18n keys.
Lazy `t(".")` lookups resolve against a lowercased scope (`ui.account.chart`)
while the locale files declare the `UI:` namespace, so they silently rendered
titleized key names.