changeset 4419:72de81520a6d

afDialog: use hf as shorthand for NullOrEmpty
author Thomas Junk <thomas.junk@intevation.de>
date Wed, 18 Sep 2019 14:03:33 +0200
parents c0bfe7283384
children 2261462ddcdc
files client/src/components/fairway/AvailableFairwayDepthDialogue.vue
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/fairway/AvailableFairwayDepthDialogue.vue	Wed Sep 18 13:47:52 2019 +0200
+++ b/client/src/components/fairway/AvailableFairwayDepthDialogue.vue	Wed Sep 18 14:03:33 2019 +0200
@@ -340,10 +340,10 @@
     },
     isComplete() {
       return (
-        this.from !== null &&
-        this.to !== null &&
-        this.frequency !== null &&
-        this.los !== null &&
+        !!this.from &&
+        !!this.to &&
+        !!this.frequency &&
+        !!this.los &&
         this.selectedFairwayAvailabilityFeature !== null
       );
     },