# HG changeset patch # User Thomas Junk # Date 1548174304 -3600 # Node ID 9b9f1d164f26a4b6a4aecb8a0983158055d9f3f3 # Parent e5c5954fbd844f3044d182e87075f0f2ffcc2963 validation diff -r e5c5954fbd84 -r 9b9f1d164f26 client/src/components/ImportStretches.vue --- a/client/src/components/ImportStretches.vue Tue Jan 22 17:22:46 2019 +0100 +++ b/client/src/components/ImportStretches.vue Tue Jan 22 17:25:04 2019 +0100 @@ -449,8 +449,8 @@ ...mapState("imports", ["stretches"]), pointsValid() { if (!this.startrhm || !this.endrhm) return true; - const start = this.startrhm.replace(/\D+/, ""); - const end = this.endrhm.replace(/\D+/, ""); + const start = this.startrhm.replace(/\D+/, "") * 1; + const end = this.endrhm.replace(/\D+/, "") * 1; const result = start < end; return result; }