From f9bc632416fc9fe812114466b4012d90062a5c00 Mon Sep 17 00:00:00 2001 From: Tor-Einar Skog <tor-einar.skog@nibio.no> Date: Mon, 28 Mar 2022 11:15:23 +0200 Subject: [PATCH] Also removing the GPS location icon on non-editable POIs --- src/components/MapPOI.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/MapPOI.vue b/src/components/MapPOI.vue index 3f68187..2d0d49f 100644 --- a/src/components/MapPOI.vue +++ b/src/components/MapPOI.vue @@ -26,7 +26,7 @@ <router-link id='btnBack' :to="{name:'PlacesList', params: {}}" class="vips-btn"> {{ $t("map.link.back.label") }} </router-link> - <div id='map-mylocation' style="margin: 5px;"> + <div v-show="userCanEditPOI" id='map-mylocation' style="margin: 5px;"> <a v-on:click="myposition" style="cursor:pointer; "><font-awesome-icon style="font-size: x-large; padding: 5px; color: white; background-color:#3d8052;" icon="location-crosshairs" /></a> </div> <div id='map-poi'></div> -- GitLab