fix(components): use undefined instead of empty object in ImportHint

- Replace empty object with undefined to use default parameter in TaskService.getAll
This commit is contained in:
kolaente
2025-11-22 16:07:07 +01:00
parent a615afa934
commit d96cecec09

View File

@@ -27,7 +27,7 @@ onMounted(async () => {
}
const taskService = new TaskService()
const tasks = await taskService.getAll({}, {per_page: 1})
const tasks = await taskService.getAll(undefined, {per_page: 1})
show.value = tasks.length === 0
})
</script>