fix(client): improve error handling
This commit is contained in:
parent
974250da6c
commit
8a40026c5c
2 changed files with 4 additions and 6 deletions
|
@ -45,8 +45,6 @@
|
|||
localStorage.setItem('lang', lang);
|
||||
localStorage.setItem('locale', await res.text());
|
||||
localStorage.setItem('localeVersion', v);
|
||||
} else if (localeOutdated) {
|
||||
// nop
|
||||
} else {
|
||||
await checkUpdate();
|
||||
renderError('LOCALE_FETCH_FAILED');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue