refactor(editor): Remove old execution view route and its dependants (#4651)

* fix(editor): Remove old execution view header

* fix(editor): Remove old execution route
This commit is contained in:
Csaba Tuncsik
2023-01-16 10:11:15 +01:00
committed by GitHub
parent 38aa99b182
commit c53ce1e5b7
8 changed files with 5 additions and 196 deletions

View File

@@ -476,16 +476,8 @@ export default mixins(
isDemo(): boolean {
return this.$route.name === VIEWS.DEMO;
},
isExecutionView(): boolean {
return this.$route.name === VIEWS.EXECUTION;
},
showCanvasAddButton(): boolean {
return (
this.loadingService === null &&
!this.containsTrigger &&
!this.isDemo &&
!this.isExecutionView
);
return this.loadingService === null && !this.containsTrigger && !this.isDemo;
},
lastSelectedNode(): INodeUi | null {
return this.uiStore.getLastSelectedNode;
@@ -2486,10 +2478,6 @@ export default mixins(
} else if (this.$route.name === VIEWS.TEMPLATE_IMPORT) {
const templateId = this.$route.params.id;
await this.openWorkflowTemplate(templateId);
} else if (this.isExecutionView) {
// Load an execution
const executionId = this.$route.params.id;
await this.openExecution(executionId);
} else {
const result = this.uiStore.stateIsDirty;
if (result) {