mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-28 04:01:10 -04:00 
			
		
		
		
	Merge branch 'set-default-country' into 'master'
set "United States" as default country for company in installation wizard See merge request mohit.panjvani/crater-web!1442
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