Fix typo in code

This commit is contained in:
2024-04-01 20:01:48 +02:00
parent c11f10817d
commit 556dc38aa9
2 changed files with 5 additions and 5 deletions

View File

@@ -192,14 +192,14 @@ watch(ccodes, (codes) => {
console.log("NNN=", codes); console.log("NNN=", codes);
console.log("IP=", geoip.value); console.log("IP=", geoip.value);
let fonud = false; let found = false;
settingsStore.ccountry_list.forEach((c) => { settingsStore.ccountry_list.forEach((c) => {
if (c.code == geoip.value.iso_code) { if (c.code == geoip.value.iso_code) {
settingsStore.country = c; settingsStore.country = c;
found = true; found = true;
} }
}); });
if (fonud == false) settingsStore.country = settingsStore.ccountry_list.filter((c) => {return c.code == 'GB'})[0]; if (found == false) settingsStore.country = settingsStore.ccountry_list.filter((c) => {return c.code == 'GB'})[0];
settingsStore.currency = countryCurrency.value[settingsStore.country.name]; settingsStore.currency = countryCurrency.value[settingsStore.country.name];
console.log("FC=", settingsStore.country,settingsStore.currency); console.log("FC=", settingsStore.country,settingsStore.currency);

View File

@@ -19,9 +19,9 @@ export default defineConfig({
build: { build: {
assetsInlineLimit: 0 assetsInlineLimit: 0
}, },
// esbuild: { esbuild: {
// drop: ['console', 'debugger'], drop: ['console', 'debugger'],
// }, },
resolve: { resolve: {
dedupe: ["vue"], dedupe: ["vue"],
} }