Mercurial > gemma
diff client/src/components/fairway/AvailableFairwayDepth.vue @ 4440:8c4126ff03e8
client:AvailableFairwayDepth: fix comparison
author | Fadi Abbud <fadi.abbud@intevation.de> |
---|---|
date | Thu, 19 Sep 2019 17:04:00 +0200 |
parents | fe8c331760ae |
children | 96283fc7de02 |
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};`