mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-27 11:41:09 -04:00
set "United States" as default country for company in installtion wizard
This commit is contained in:
@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user