mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-07 13:41:23 +00: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