mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-08 00:02:15 +01:00
fix type errors
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user