mirror of
https://github.com/pretix/pretix.git
synced 2026-05-09 15:54:03 +00:00
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 {
|
} else {
|
||||||
this.$set(this.rule[this.operator], 1, time);
|
this.$set(this.rule[this.operator], 1, time);
|
||||||
}
|
}
|
||||||
|
if (event.target.value === "custom") {
|
||||||
|
this.$set(this.rule[this.operator], 2, 0);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
setTimeValue: function (val) {
|
setTimeValue: function (val) {
|
||||||
console.log(val);
|
console.log(val);
|
||||||
|
|||||||
Reference in New Issue
Block a user