Client - fix workout detail display when no gpx
This commit is contained in:
parent
2826e8ad8c
commit
de32c136b6
@ -2,7 +2,12 @@
|
|||||||
<div id="workout-map">
|
<div id="workout-map">
|
||||||
<div
|
<div
|
||||||
class="leaflet-container"
|
class="leaflet-container"
|
||||||
v-if="geoJson.jsonData && center && bounds.length === 2"
|
v-if="
|
||||||
|
workoutData.workout.with_gpx &&
|
||||||
|
geoJson.jsonData &&
|
||||||
|
center &&
|
||||||
|
bounds.length === 2
|
||||||
|
"
|
||||||
>
|
>
|
||||||
<LMap
|
<LMap
|
||||||
:zoom="options.zoom"
|
:zoom="options.zoom"
|
||||||
|
@ -16,7 +16,9 @@
|
|||||||
:markerCoordinates="markerCoordinates"
|
:markerCoordinates="markerCoordinates"
|
||||||
/>
|
/>
|
||||||
<WorkoutChart
|
<WorkoutChart
|
||||||
v-if="workoutData.chartData.length > 0"
|
v-if="
|
||||||
|
workoutData.workout.with_gpx && workoutData.chartData.length > 0
|
||||||
|
"
|
||||||
:workoutData="workoutData"
|
:workoutData="workoutData"
|
||||||
:authUser="authUser"
|
:authUser="authUser"
|
||||||
@getCoordinates="updateCoordinates"
|
@getCoordinates="updateCoordinates"
|
||||||
|
Loading…
Reference in New Issue
Block a user