mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
fix(editor): Redirect to workflow editor after saving in debug mode (#7645)
This commit is contained in:
@@ -379,7 +379,17 @@ export default defineComponent({
|
||||
name: this.workflowName,
|
||||
tags: this.currentWorkflowTagIds,
|
||||
});
|
||||
if (saved) await this.settingsStore.fetchPromptsData();
|
||||
|
||||
if (saved) {
|
||||
await this.settingsStore.fetchPromptsData();
|
||||
|
||||
if (this.$route.name === VIEWS.EXECUTION_DEBUG) {
|
||||
await this.$router.replace({
|
||||
name: VIEWS.WORKFLOW,
|
||||
params: { name: this.currentWorkflowId },
|
||||
});
|
||||
}
|
||||
}
|
||||
},
|
||||
onShareButtonClick() {
|
||||
this.uiStore.openModalWithData({
|
||||
|
||||
Reference in New Issue
Block a user