kopia lustrzana https://github.com/manuelkasper/sotlas-frontend
Send map type when tracking map sessions
rodzic
36103f2d3b
commit
3e7130bc0b
|
@ -173,7 +173,7 @@ export default {
|
|||
}
|
||||
this.highlightCurrentSummit()
|
||||
|
||||
axios.post(process.env.VUE_APP_API_URL + '/mapsession')
|
||||
axios.post(process.env.VUE_APP_API_URL + '/mapsession', { type: 'mini' })
|
||||
},
|
||||
onMapClicked (event) {
|
||||
if (event.mapboxEvent.originalEvent.hitMarker) {
|
||||
|
|
|
@ -248,7 +248,7 @@ export default {
|
|||
})
|
||||
this.updateRoute()
|
||||
|
||||
axios.post(process.env.VUE_APP_API_URL + '/mapsession')
|
||||
axios.post(process.env.VUE_APP_API_URL + '/mapsession', { type: 'main' })
|
||||
},
|
||||
onMapClicked (event) {
|
||||
if (this.$refs.draw.isDrawing() || event.mapboxEvent.originalEvent.hitMarker) {
|
||||
|
|
Ładowanie…
Reference in New Issue