fix: preserve bandplan override lookup

This commit is contained in:
sjg
2026-08-01 14:23:29 +02:00
parent e910e644d5
commit 844de809a4
2 changed files with 5 additions and 5 deletions
@@ -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;