Check-in rule editor: Set tolerance to 0 when using custom time

This commit is contained in:
Raphael Michel
2021-02-19 18:12:30 +01:00
parent 8330448a94
commit 37ba885c55

View File

@@ -362,6 +362,9 @@ $(document).ready(function () {
} else {
this.$set(this.rule[this.operator], 1, time);
}
if (event.target.value === "custom") {
this.$set(this.rule[this.operator], 2, 0);
}
},
setTimeValue: function (val) {
console.log(val);