set "United States" as default country for company in installtion wizard

This commit is contained in:
asift798
2022-02-16 12:05:08 +05:30
parent 6a3e9e132f
commit e24a89fe39

View File

@ -181,6 +181,11 @@ onMounted(async () => {
isFetchingInitialData.value = true
await globalStore.fetchCountries()
isFetchingInitialData.value = false
// set default country
companyForm.address.country_id = globalStore.countries.find((country) => {
return country.code == 'US'
})?.id
})
const rules = {