diff client/src/fairway/Fairwayprofile.vue @ 1199:181b8a947ecd

fixed property of null bug
author Markus Kottlaender <markus@intevation.de>
date Mon, 19 Nov 2018 08:51:44 +0100
parents 1335e088e7ef
children 502e0b960424
line wrap: on
line diff
--- a/client/src/fairway/Fairwayprofile.vue	Mon Nov 19 08:33:03 2018 +0100
+++ b/client/src/fairway/Fairwayprofile.vue	Mon Nov 19 08:51:44 2018 +0100
@@ -264,7 +264,9 @@
         this.selectedBottleneck + " (" + new Date().toISOString() + ")";
     },
     coordinatesSelect(newValue) {
-      this.applyCoordinates(newValue);
+      if (newValue) {
+        this.applyCoordinates(newValue);
+      }
     }
   },
   methods: {