fix(map): Only show marker if we have it's position

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2023-05-03 10:24:07 +02:00
parent 8dcb76c30d
commit f0cc5ffb8f
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -19,6 +19,7 @@
:zoomOutTitle="$t('Zoom out')"
></l-control-zoom>
<l-marker
v-if="lat && lon"
:lat-lng="[lat, lon]"
@add="openPopup"
@update:latLng="updateDraggableMarkerPositionDebounced"