fix: preserve bandplan override lookup
This commit is contained in:
@@ -3343,7 +3343,7 @@ function render(update) {
|
||||
if (!_bandplanServerDefaultApplied && typeof update.bandplan_enabled === "boolean"
|
||||
&& typeof update.bandplan_region === "string") {
|
||||
_bandplanServerDefaultApplied = true;
|
||||
const hasUserOverride = localStorage.getItem(STORAGE_PREFIX + "bandplanRegion") !== null;
|
||||
const hasUserOverride = localStorage.getItem("trx_bandplanRegion") !== null;
|
||||
if (!hasUserOverride) {
|
||||
const region = update.bandplan_enabled ? update.bandplan_region : "off";
|
||||
bandplanRegion = region;
|
||||
|
||||
Reference in New Issue
Block a user