Mercurial > gemma
comparison client/src/components/fairway/Profiles.vue @ 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 | b6cc4838d2c0 |
comparison
equal
deleted
inserted
replaced
3120:a77d0eafeccc | 3121:adca192a4070 |
---|---|
398 .filter(c => Number(c) === c); | 398 .filter(c => Number(c) === c); |
399 return coordinates.length === 4; | 399 return coordinates.length === 4; |
400 }, | 400 }, |
401 differencesVisible() { | 401 differencesVisible() { |
402 return ( | 402 return ( |
403 this.openLayersMap(this.comparePaneId) && | |
403 !this.openLayersMap(this.comparePaneId) | 404 !this.openLayersMap(this.comparePaneId) |
404 .getLayer("BOTTLENECKISOLINE") | 405 .getLayer("BOTTLENECKISOLINE") |
405 .getVisible() && | 406 .getVisible() && |
406 this.openLayersMap(this.comparePaneId) | 407 this.openLayersMap(this.comparePaneId) |
407 .getLayer("DIFFERENCES") | 408 .getLayer("DIFFERENCES") |