fix: custom date range with nothing specified
This commit is contained in:
parent
1e46849c78
commit
16f48bcc2d
1 changed files with 2 additions and 2 deletions
|
@ -90,8 +90,8 @@ const to = ref('')
|
|||
|
||||
function emitChanged() {
|
||||
emit('dateChanged', {
|
||||
dateFrom: from.value,
|
||||
dateTo: to.value,
|
||||
dateFrom: from.value === '' ? null : from.value,
|
||||
dateTo: to.value === '' ? null : to.value,
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue