mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 14:44:05 -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.temporaryExecution
|
||||||
) {
|
) {
|
||||||
this.workflowsStore.activeWorkflowExecution = this.executions[0];
|
this.workflowsStore.activeWorkflowExecution = this.executions[0];
|
||||||
|
|
||||||
|
if (this.$route.name === VIEWS.EXECUTION_HOME) {
|
||||||
this.$router
|
this.$router
|
||||||
.push({
|
.push({
|
||||||
name: VIEWS.EXECUTION_PREVIEW,
|
name: VIEWS.EXECUTION_PREVIEW,
|
||||||
|
@ -456,6 +458,7 @@ export default defineComponent({
|
||||||
})
|
})
|
||||||
.catch(() => {});
|
.catch(() => {});
|
||||||
}
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
async tryToFindExecution(executionId: string, attemptCount = 0): Promise<void> {
|
async tryToFindExecution(executionId: string, attemptCount = 0): Promise<void> {
|
||||||
// First check if executions exists in the DB at all
|
// First check if executions exists in the DB at all
|
||||||
|
|
Loading…
Reference in a new issue