mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-08-31 03:46:56 -05:00
The api returns an empty string for the language when the user never explicitly saved one. `assignData` only falls back to the model defaults for null and undefined, so that empty string overwrote the browser language default. The language select then had no matching option and rendered blank. Fall back to the browser language for any falsy value returned by the api.