1
0
Fork 0
mirror of https://framagit.org/framasoft/mobilizon.git synced 2024-12-27 02:10:27 +00:00

fix(frontend): only show map on event edition when we have an address or we want to put in details

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2023-05-26 18:59:56 +02:00
parent 0e14a36c6d
commit 02867e6e14
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -157,7 +157,10 @@
</footer>
</form>
</o-collapse>
<div class="map" v-if="!hideMap">
<div
class="map"
v-if="!hideMap && !disabled && (selected.geom || detailsAddress)"
>
<map-leaflet
:coords="selected.geom ?? defaultCoords"
:marker="mapMarkerValue"