added place.latitude and place.longitude, fix routes
This commit is contained in:
@@ -135,7 +135,7 @@ export default {
|
||||
valid: false,
|
||||
openImportDialog: false,
|
||||
event: {
|
||||
place: { name: '', address: '', details: {} },
|
||||
place: { name: '', address: '', latitude: null, longitude: null },
|
||||
title: '',
|
||||
description: '',
|
||||
tags: [],
|
||||
@@ -214,7 +214,8 @@ export default {
|
||||
}
|
||||
formData.append('place_name', this.event.place.name)
|
||||
formData.append('place_address', this.event.place.address)
|
||||
formData.append('place_details', this.event.place.details)
|
||||
formData.append('place_latitude', this.event.place.latitude)
|
||||
formData.append('place_longitude', this.event.place.longitude)
|
||||
formData.append('description', this.event.description)
|
||||
formData.append('multidate', !!this.date.multidate)
|
||||
formData.append('start_datetime', dayjs(this.date.from).unix())
|
||||
|
||||
Reference in New Issue
Block a user