diff --git a/frontend/src/lib/components/FlowBuilder.svelte b/frontend/src/lib/components/FlowBuilder.svelte index c29adae01d..b967d3a3b2 100644 --- a/frontend/src/lib/components/FlowBuilder.svelte +++ b/frontend/src/lib/components/FlowBuilder.svelte @@ -118,10 +118,10 @@ } loadingSave = false if (leave) { - goto(`/flows/get/${$flowStore.path}?workspace_id=${$workspaceStore}`) + goto(`/flows/get/${$flowStore.path}?workspace=${$workspaceStore}`) } else if (initialPath !== $flowStore.path) { initialPath = $flowStore.path - goto(`/flows/edit/${$flowStore.path}?workspace_id=${$workspaceStore}`) + goto(`/flows/edit/${$flowStore.path}?workspace=${$workspaceStore}`) } } catch (err) { sendUserToast(`The flow could not be saved: ${err.body}`, true) diff --git a/frontend/src/lib/components/ScriptBuilder.svelte b/frontend/src/lib/components/ScriptBuilder.svelte index 32df2b3bc1..4fea2aa984 100644 --- a/frontend/src/lib/components/ScriptBuilder.svelte +++ b/frontend/src/lib/components/ScriptBuilder.svelte @@ -114,7 +114,7 @@ }) if (leave) { history.replaceState(history.state, '', `/scripts/edit/${newHash}`) - goto(`/scripts/get/${newHash}?workspace_id=${$workspaceStore}`) + goto(`/scripts/get/${newHash}?workspace=${$workspaceStore}`) } else { await goto(`/scripts/edit/${newHash}`) script.hash = newHash diff --git a/frontend/src/lib/components/apps/editor/inlineScriptsPanel/InlineScriptEditorPanel.svelte b/frontend/src/lib/components/apps/editor/inlineScriptsPanel/InlineScriptEditorPanel.svelte index 8551a103d7..c3ac757602 100644 --- a/frontend/src/lib/components/apps/editor/inlineScriptsPanel/InlineScriptEditorPanel.svelte +++ b/frontend/src/lib/components/apps/editor/inlineScriptsPanel/InlineScriptEditorPanel.svelte @@ -149,7 +149,7 @@ /> {/if} {:else if componentInput?.runnable?.type === 'runnableByPath' && componentInput?.runnable?.path} -