changeset 3121:adca192a4070

client: compare surveys: fixed property of undefined error
author Markus Kottlaender <markus@intevation.de>
date Mon, 29 Apr 2019 11:50:50 +0200
parents a77d0eafeccc
children 3dffeb6df4a3
files client/src/components/fairway/Profiles.vue
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/fairway/Profiles.vue	Mon Apr 29 11:40:37 2019 +0200
+++ b/client/src/components/fairway/Profiles.vue	Mon Apr 29 11:50:50 2019 +0200
@@ -400,6 +400,7 @@
     },
     differencesVisible() {
       return (
+        this.openLayersMap(this.comparePaneId) &&
         !this.openLayersMap(this.comparePaneId)
           .getLayer("BOTTLENECKISOLINE")
           .getVisible() &&