changeset 1199:181b8a947ecd

fixed property of null bug
author Markus Kottlaender <markus@intevation.de>
date Mon, 19 Nov 2018 08:51:44 +0100
parents c636ce754148
children 502e0b960424
files client/src/fairway/Fairwayprofile.vue
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
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: {