Fix bug on select currency
This commit is contained in:
@@ -34,6 +34,11 @@ let tsettings = computed(() => {
|
||||
let country = "GB";
|
||||
console.log('AAAAA',settingsStore.country);
|
||||
if (settingsStore.country != "") country = settingsStore.country.code;
|
||||
|
||||
if (settingsStore.currency != "EUR")
|
||||
settingsStore.currencyCoef = currencyHash.value[settingsStore.currency];
|
||||
else settingsStore.currencyCoef = 1.0;
|
||||
|
||||
return `${country} / ${settingsStore.currency}`;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user