# HG changeset patch # User Fadi Abbud # Date 1568905440 -7200 # Node ID 8c4126ff03e8c5d9c84cf3c6c57945516ebd673b # Parent 3bcd4a27bef0ea85066bf4fbdbc9ad865804d529 client:AvailableFairwayDepth: fix comparison diff -r 3bcd4a27bef0 -r 8c4126ff03e8 client/src/components/fairway/AvailableFairwayDepth.vue --- 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};`