Client - fix workout detail display when no gpx

This commit is contained in:
Sam
2021-09-26 14:12:34 +02:00
parent 2826e8ad8c
commit de32c136b6
2 changed files with 9 additions and 2 deletions

View File

@ -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"