feat: add date math for filters #1342

Merged
konrad merged 88 commits from feature/date-math into main 2022-03-28 17:30:43 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 16f48bcc2d - Show all commits

View File

@ -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,
})
}