mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-08 08:12:17 +01:00
fix billable default when starting time entry from recently tracked tasks
This commit is contained in:
@@ -29,6 +29,7 @@ async function startTaskTimer() {
|
||||
currentTimeEntry.value.project_id = props.project_id;
|
||||
currentTimeEntry.value.task_id = props.task_id;
|
||||
currentTimeEntry.value.start = getDayJsInstance().utc().format();
|
||||
currentTimeEntry.value.billable = project.value?.is_billable ?? false;
|
||||
await setActiveState(true);
|
||||
useCurrentTimeEntryStore().fetchCurrentTimeEntry();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user