docs(drafts): trim the create-enabled comment and close the gap a removed method left

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KcyBRxE8j3ujCYkum9KrC4
This commit is contained in:
Diego Imbert
2026-09-06 10:24:56 +02:00
co-authored by Claude Opus 5
parent bfc9db5dfd
commit 35ca2da8c9
2 changed files with 3 additions and 5 deletions
@@ -626,10 +626,9 @@
const isSaved = await saveScheduleFromCfg(scheduleCfg, edit, wsId!)
if (isSaved) {
// A create deploys the schedule enabled whatever the form said (see
// saveScheduleFromCfg), so what counts as written records that — the
// baseline would otherwise claim a state the server does not have. The form
// follows only while it still holds what was sent; changed since, it is an
// edit of its own.
// saveScheduleFromCfg), so what counts as written records that — the baseline
// would otherwise claim a state the server does not have. The form follows
// only while it still holds what was sent; changed since, it is its own edit.
if (wasCreate) {
const sentEnabled = scheduleCfg.enabled
scheduleCfg.enabled = true
-1
View File
@@ -488,7 +488,6 @@ export const UserDraft = {
noteMarker(draftOnlyDiscards, mapKey(resolveWorkspace(opts), itemKind, path))
},
/** Whether the last discard for this cell removed the item outright (see
* {@link recordDraftOnlyDiscard}), clearing the record. */
takeDraftOnlyDiscard(