fix: emit null

This commit is contained in:
kolaente 2025-11-22 17:14:51 +01:00
parent e7c0f5fab3
commit 4b4684961b
1 changed files with 2 additions and 2 deletions

View File

@ -164,8 +164,8 @@ watch(
function emitChanged() {
const args = {
dateFrom: from.value === '' ? '' : from.value,
dateTo: to.value === '' ? '' : to.value,
dateFrom: from.value === '' ? null : from.value,
dateTo: to.value === '' ? null : to.value,
}
emit('update:modelValue', args)
}