#95 - fix
This commit is contained in:
parent
3beac250a5
commit
439c288d74
@ -401,7 +401,12 @@ function onFromChange(selectedDates, dateStr) {
|
||||
refreshEstimatedDays(form.from, form.to)
|
||||
}
|
||||
|
||||
function onToChange() {
|
||||
function onToChange(selectedDates, dateStr) {
|
||||
if (form.from === null) {
|
||||
form.from = dateStr
|
||||
|
||||
return
|
||||
}
|
||||
refreshEstimatedDays(form.from, form.to)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user