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
|
||||
class="leaflet-container"
|
||||
v-if="geoJson.jsonData && center && bounds.length === 2"
|
||||
v-if="
|
||||
workoutData.workout.with_gpx &&
|
||||
geoJson.jsonData &&
|
||||
center &&
|
||||
bounds.length === 2
|
||||
"
|
||||
>
|
||||
<LMap
|
||||
:zoom="options.zoom"
|
||||
|
@ -16,7 +16,9 @@
|
||||
:markerCoordinates="markerCoordinates"
|
||||
/>
|
||||
<WorkoutChart
|
||||
v-if="workoutData.chartData.length > 0"
|
||||
v-if="
|
||||
workoutData.workout.with_gpx && workoutData.chartData.length > 0
|
||||
"
|
||||
:workoutData="workoutData"
|
||||
:authUser="authUser"
|
||||
@getCoordinates="updateCoordinates"
|
||||
|
Loading…
Reference in New Issue
Block a user