Skip to content

Commit 0e58923

Browse files
fix(web): an unreadable Run at keeps the task's last valid time
Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 836e62a commit 0e58923

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎apps/web/src/components/settings/ScheduledTasksSettings.tsx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2052,9 +2052,9 @@ function ScheduledTaskEditorForm({
20522052
}
20532053
className="w-32"
20542054
value={draft.timeOfDay}
2055-
onChange={(timeOfDay) =>
2056-
setDraft((current) => ({ ...current, timeOfDay: timeOfDay ?? "" }))
2057-
}
2055+
onChange={(timeOfDay) => {
2056+
if (timeOfDay !== null) setDraft((current) => ({ ...current, timeOfDay }));
2057+
}}
20582058
/>
20592059
{runAtZone === undefined ? null : (
20602060
<span id="scheduled-task-time-zone" className="text-xs text-muted-foreground">

0 commit comments

Comments
 (0)