Mercurial > gemma
comparison client/src/components/fairway/AvailableFairwayDepth.vue @ 4412:14de1ea7000b
AFDepths: fix comparison
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Tue, 17 Sep 2019 17:05:14 +0200 |
parents | d6c38a22c71e |
children | fe8c331760ae |
comparison
equal
deleted
inserted
replaced
4411:5826d4de0e40 | 4412:14de1ea7000b |
---|---|
187 const d = [this.depthlimit1D, this.depthlimit2D].sort(); | 187 const d = [this.depthlimit1D, this.depthlimit2D].sort(); |
188 const w = [this.widthlimit1D, this.widthlimit2D].sort(); | 188 const w = [this.widthlimit1D, this.widthlimit2D].sort(); |
189 const lowerBound = [d[0], w[0]].filter(x => x).join(", "); | 189 const lowerBound = [d[0], w[0]].filter(x => x).join(", "); |
190 const upperBound = [d[1], w[1]].filter(x => x).join(", "); | 190 const upperBound = [d[1], w[1]].filter(x => x).join(", "); |
191 let result; | 191 let result; |
192 if (this.depthlimit1D !== this._depthlimit2D) { | 192 if (this.depthlimit1D !== this.depthlimit2D) { |
193 result = [ | 193 result = [ |
194 `> LDC`, | 194 `> LDC`, |
195 `>= ${upperBound / 100} [m]`, | 195 `>= ${upperBound / 100} [m]`, |
196 `< ${upperBound / 100} [m]`, | 196 `< ${upperBound / 100} [m]`, |
197 `< ${lowerBound / 100} [m]` | 197 `< ${lowerBound / 100} [m]` |