forked from CGM_Public/pretix_original
Check-in rule editor: Set tolerance to 0 when using custom time
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user