mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-04-29 19:10:51 -05:00
fix: emit null
This commit is contained in:
@@ -164,8 +164,8 @@ watch(
|
|||||||
|
|
||||||
function emitChanged() {
|
function emitChanged() {
|
||||||
const args = {
|
const args = {
|
||||||
dateFrom: from.value === '' ? '' : from.value,
|
dateFrom: from.value === '' ? null : from.value,
|
||||||
dateTo: to.value === '' ? '' : to.value,
|
dateTo: to.value === '' ? null : to.value,
|
||||||
}
|
}
|
||||||
emit('update:modelValue', args)
|
emit('update:modelValue', args)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user