mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-15 16:03:02 +00:00
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:
co-authored by
Claude Opus 5
parent
bfc9db5dfd
commit
35ca2da8c9
@@ -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
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user