Mercurial > gemma
comparison 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 |
comparison
equal
deleted
inserted
replaced
4439:3bcd4a27bef0 | 4440:8c4126ff03e8 |
---|---|
335 this.pdf.doc.roundedRect(x, y + 10, 10, 4, 1.5, 1.5, "FD"); | 335 this.pdf.doc.roundedRect(x, y + 10, 10, 4, 1.5, 1.5, "FD"); |
336 this.pdf.doc.text(this.legend[2], x + 12, y + 13); | 336 this.pdf.doc.text(this.legend[2], x + 12, y + 13); |
337 } | 337 } |
338 }, | 338 }, |
339 legendStyle(index) { | 339 legendStyle(index) { |
340 if (this._depthlimit1 === this._depthlimit2) { | 340 if (this.depthlimit1 === this.depthlimit2) { |
341 let result = [ | 341 let result = [ |
342 `background-color: ${this.$options.COLORS.LDC};`, | 342 `background-color: ${this.$options.COLORS.LDC};`, |
343 `background-color: ${this.$options.COLORS.HIGHEST};` | 343 `background-color: ${this.$options.COLORS.HIGHEST};` |
344 ]; | 344 ]; |
345 this.fwData[0].lowerLevels.forEach((e, i) => { | 345 this.fwData[0].lowerLevels.forEach((e, i) => { |