diff client/src/components/fairway/Fairwayprofile.vue @ 3683:4a00ff7e44f0

client: fairway profile: avoid console error spamming by properly checking properties
author Markus Kottlaender <markus@intevation.de>
date Tue, 18 Jun 2019 13:21:41 +0200
parents c086f5176ef2
children af06045e87c9
line wrap: on
line diff
--- a/client/src/components/fairway/Fairwayprofile.vue	Tue Jun 18 12:53:05 2019 +0200
+++ b/client/src/components/fairway/Fairwayprofile.vue	Tue Jun 18 13:21:41 2019 +0200
@@ -1,7 +1,7 @@
 <template>
   <div class="d-flex flex-column flex-fill">
     <UIBoxHeader icon="chart-area" :title="title" :closeCallback="close" />
-    <div class="d-flex flex-fill">
+    <div class="d-flex flex-fill" v-if="openLayersMap()">
       <DiagramLegend>
         <div class="legend">
           <span