mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-13 00:03:00 +00:00
fix: discard the open pane's autosaved edits with Discard all
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
aca183f214
commit
9f4e508369
@@ -611,6 +611,9 @@
|
||||
pe.drafts = new Map()
|
||||
pe.triggerDrafts = new Map()
|
||||
pe.activeDraftPath = undefined
|
||||
// The open pane's buffer is autosaved as a draft of the deployed script it
|
||||
// edits, so it has to go with the drafts.
|
||||
pe.clearLiveOverlays()
|
||||
saveErrors = new Map()
|
||||
const target = pendingNavigationUrl
|
||||
leaveModalOpen = false
|
||||
|
||||
Reference in New Issue
Block a user