This commit is contained in:
Adrian Hopek
2022-03-28 13:03:15 +02:00
parent c97d8a151c
commit 3beac250a5
2 changed files with 7 additions and 2 deletions

View File

@@ -392,7 +392,11 @@ function createForm() {
}
function onFromChange(selectedDates, dateStr) {
form.to = dateStr
if (form.to === null) {
form.to = dateStr
return
}
refreshEstimatedDays(form.from, form.to)
}