Merge branch 'main' into glm/fix/frontend/prevent-multiple-menu-opening

This commit is contained in:
Guilhem
2025-05-26 10:52:21 +02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
@@ -461,7 +461,7 @@
...structuredClone(newSavedFlow),
path: $pathStore
} as Flow
triggersState.setTriggers([])
setDraftTriggers([])
loadingSave = false
dispatch('deploy', $pathStore)
} catch (err) {
@@ -556,7 +556,7 @@
const { draft_triggers: _, ...newScript } = structuredClone(script)
savedScript = structuredClone(newScript) as NewScriptWithDraft
triggersState.setTriggers([])
setDraftTriggers([])
if (!disableHistoryChange) {
history.replaceState(history.state, '', `/scripts/edit/${script.path}`)