fix for US storefront changing to en-gb

This commit is contained in:
booploops 2022-02-11 06:03:29 -08:00
parent f84adfaf14
commit 6ff55edc5e

View file

@ -3650,7 +3650,7 @@ const app = new Vue({
} else if (u && u.includes('_') && langcodes.includes(((u.toLowerCase()).replace('_', "-")).split("-")[0])) {
sellang = ((u.toLowerCase()).replace('_', "-")).split("-")[0]
}
if (sellang.startsWith("en") && this.mk.storefrontId != "en-us") sellang = "en-gb"
if (sellang.startsWith("en") && this.mk.storefrontId != "us") sellang = "en-gb"
return await sellang
}
}