changeset 4440:8c4126ff03e8

client:AvailableFairwayDepth: fix comparison
author Fadi Abbud <fadi.abbud@intevation.de>
date Thu, 19 Sep 2019 17:04:00 +0200
parents 3bcd4a27bef0
children 940b53bdf871
files client/src/components/fairway/AvailableFairwayDepth.vue
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/fairway/AvailableFairwayDepth.vue	Thu Sep 19 16:54:53 2019 +0200
+++ b/client/src/components/fairway/AvailableFairwayDepth.vue	Thu Sep 19 17:04:00 2019 +0200
@@ -337,7 +337,7 @@
       }
     },
     legendStyle(index) {
-      if (this._depthlimit1 === this._depthlimit2) {
+      if (this.depthlimit1 === this.depthlimit2) {
         let result = [
           `background-color: ${this.$options.COLORS.LDC};`,
           `background-color: ${this.$options.COLORS.HIGHEST};`