mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -08:00
fix: Prevent redirect when outside of executions home (no-changelog) (#6305)
fix: prevent redirect when outside of executions home (no-changelog)
This commit is contained in:
parent
1b321416c0
commit
f7708c9159
|
@ -449,6 +449,8 @@ export default defineComponent({
|
|||
!this.temporaryExecution
|
||||
) {
|
||||
this.workflowsStore.activeWorkflowExecution = this.executions[0];
|
||||
|
||||
if (this.$route.name === VIEWS.EXECUTION_HOME) {
|
||||
this.$router
|
||||
.push({
|
||||
name: VIEWS.EXECUTION_PREVIEW,
|
||||
|
@ -456,6 +458,7 @@ export default defineComponent({
|
|||
})
|
||||
.catch(() => {});
|
||||
}
|
||||
}
|
||||
},
|
||||
async tryToFindExecution(executionId: string, attemptCount = 0): Promise<void> {
|
||||
// First check if executions exists in the DB at all
|
||||
|
|
Loading…
Reference in a new issue