fix EUR currency
This commit is contained in:
@@ -200,7 +200,11 @@ watch(ccodes, (codes) => {
|
||||
}
|
||||
});
|
||||
if (found == false) settingsStore.country = settingsStore.ccountry_list.filter((c) => {return c.code == 'GB'})[0];
|
||||
if (typeof countryCurrency.value[settingsStore.country.name] !== 'undefined') {
|
||||
settingsStore.currency = countryCurrency.value[settingsStore.country.name];
|
||||
} else {
|
||||
settingsStore.currency = "EUR";
|
||||
}
|
||||
|
||||
console.log("FC=", settingsStore.country,settingsStore.currency);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user