mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-27 18:31:07 +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:
parent
0e14a36c6d
commit
02867e6e14
1 changed files with 4 additions and 1 deletions
|
@ -157,7 +157,10 @@
|
||||||
</footer>
|
</footer>
|
||||||
</form>
|
</form>
|
||||||
</o-collapse>
|
</o-collapse>
|
||||||
<div class="map" v-if="!hideMap">
|
<div
|
||||||
|
class="map"
|
||||||
|
v-if="!hideMap && !disabled && (selected.geom || detailsAddress)"
|
||||||
|
>
|
||||||
<map-leaflet
|
<map-leaflet
|
||||||
:coords="selected.geom ?? defaultCoords"
|
:coords="selected.geom ?? defaultCoords"
|
||||||
:marker="mapMarkerValue"
|
:marker="mapMarkerValue"
|
||||||
|
|
Loading…
Reference in a new issue