fix: emit null

This commit is contained in:
kolaente
2025-11-22 17:14:51 +01:00
parent e7c0f5fab3
commit 4b4684961b

View File

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