mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-11-23 22:56:53 +09:00
enhance(client): Force error screen (#8947)
This commit is contained in:
parent
3feaf39294
commit
84b8ffb7d0
@ -24,6 +24,11 @@
|
|||||||
|
|
||||||
const v = localStorage.getItem('v') || VERSION;
|
const v = localStorage.getItem('v') || VERSION;
|
||||||
|
|
||||||
|
let forceError = localStorage.getItem('forceError');
|
||||||
|
if (forceError != null) {
|
||||||
|
renderError('FORCED_ERROR', 'This error is forced by having forceError in local storage.')
|
||||||
|
}
|
||||||
|
|
||||||
//#region Detect language & fetch translations
|
//#region Detect language & fetch translations
|
||||||
const localeVersion = localStorage.getItem('localeVersion');
|
const localeVersion = localStorage.getItem('localeVersion');
|
||||||
const localeOutdated = (localeVersion == null || localeVersion !== v);
|
const localeOutdated = (localeVersion == null || localeVersion !== v);
|
||||||
|
Loading…
Reference in New Issue
Block a user