diff 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
line wrap: on
line diff
--- a/client/src/components/fairway/AvailableFairwayDepth.vue	Tue Sep 17 16:28:47 2019 +0200
+++ b/client/src/components/fairway/AvailableFairwayDepth.vue	Tue Sep 17 17:05:14 2019 +0200
@@ -189,7 +189,7 @@
       const lowerBound = [d[0], w[0]].filter(x => x).join(", ");
       const upperBound = [d[1], w[1]].filter(x => x).join(", ");
       let result;
-      if (this.depthlimit1D !== this._depthlimit2D) {
+      if (this.depthlimit1D !== this.depthlimit2D) {
         result = [
           `> LDC`,
           `>= ${upperBound / 100} [m]`,