fix type errors

This commit is contained in:
Gregor Vostrak
2024-03-11 18:32:54 +01:00
parent a0e729fde5
commit 72f6cb2bdf
3 changed files with 5 additions and 4 deletions

View File

@@ -97,7 +97,7 @@ async function onToggleButtonPress(newState: boolean) {
}
}
const currentProject = ref<Project | null>(null);
const currentProject = ref<Project>();
watch(currentProject, () => {
if (currentProject.value) {
currentTimeEntry.value.project_id = currentProject.value.id;