mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-31 21:51:10 -04:00
fix button color and some route change
This commit is contained in:
@ -179,13 +179,13 @@ export default {
|
||||
isFetchingData: false,
|
||||
formData: {
|
||||
name: null,
|
||||
logo: null,
|
||||
email: null,
|
||||
phone: null,
|
||||
zip: null,
|
||||
address_street_1: null,
|
||||
address_street_2: null,
|
||||
website: null,
|
||||
logo: '',
|
||||
email: '',
|
||||
phone: '',
|
||||
zip: '',
|
||||
address_street_1: '',
|
||||
address_street_2: '',
|
||||
website: '',
|
||||
country_id: null,
|
||||
state_id: '',
|
||||
city_id: ''
|
||||
|
||||
@ -276,7 +276,12 @@ export default {
|
||||
data: this.previewLogo
|
||||
}))
|
||||
|
||||
await axios.post('/api/settings/company/upload-logo', logoData)
|
||||
await axios.post('/api/admin/onboarding/company/upload-logo', logoData, {
|
||||
headers: {
|
||||
'Content-Type': 'multipart/form-data',
|
||||
'company': response.data.user.company.id
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
this.$emit('next')
|
||||
|
||||
Reference in New Issue
Block a user