fix: custom date range with nothing specified
This commit is contained in:
parent
1e46849c78
commit
16f48bcc2d
@ -90,8 +90,8 @@ const to = ref('')
|
|||||||
|
|
||||||
function emitChanged() {
|
function emitChanged() {
|
||||||
emit('dateChanged', {
|
emit('dateChanged', {
|
||||||
dateFrom: from.value,
|
dateFrom: from.value === '' ? null : from.value,
|
||||||
dateTo: to.value,
|
dateTo: to.value === '' ? null : to.value,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user