mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 04:01:10 -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
|
isFetchingInitialData.value = true
|
||||||
await globalStore.fetchCountries()
|
await globalStore.fetchCountries()
|
||||||
isFetchingInitialData.value = false
|
isFetchingInitialData.value = false
|
||||||
|
|
||||||
|
// set default country
|
||||||
|
companyForm.address.country_id = globalStore.countries.find((country) => {
|
||||||
|
return country.code == 'US'
|
||||||
|
})?.id
|
||||||
})
|
})
|
||||||
|
|
||||||
const rules = {
|
const rules = {
|
||||||
|
|||||||
Reference in New Issue
Block a user