fix(timesheet): stop sending client clock for live timers

This commit is contained in:
2026-05-21 13:01:51 +03:30
parent 3d706da457
commit 08359041ed

View File

@@ -2413,7 +2413,6 @@ export default function Timesheet() {
workspace_id: activeWorkspace.id, workspace_id: activeWorkspace.id,
description: timerDraft.description.trim(), description: timerDraft.description.trim(),
project_id: timerDraft.projectId || null, project_id: timerDraft.projectId || null,
start_time: new Date().toISOString(),
tags: timerDraft.tags, tags: timerDraft.tags,
is_billable: timerDraft.isBillable, is_billable: timerDraft.isBillable,
}); });
@@ -2457,7 +2456,6 @@ export default function Timesheet() {
project_id: restartProjectId, project_id: restartProjectId,
tags: restartTagIds, tags: restartTagIds,
is_billable: entry.is_billable, is_billable: entry.is_billable,
start_time: new Date().toISOString(),
}); });
toast.success(t.timesheet?.startSuccess || "Timer started"); toast.success(t.timesheet?.startSuccess || "Timer started");