mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 11:22:15 +00:00
fix(editor): Revert header toggle fix (#9800)
This commit is contained in:
@@ -98,21 +98,9 @@ export default defineComponent({
|
|||||||
beforeMount() {
|
beforeMount() {
|
||||||
this.pushConnection.initialize();
|
this.pushConnection.initialize();
|
||||||
},
|
},
|
||||||
async mounted() {
|
mounted() {
|
||||||
this.dirtyState = this.uiStore.stateIsDirty;
|
this.dirtyState = this.uiStore.stateIsDirty;
|
||||||
this.syncTabsWithRoute(this.$route);
|
this.syncTabsWithRoute(this.$route);
|
||||||
|
|
||||||
if (this.workflowsStore.workflow.id === PLACEHOLDER_EMPTY_WORKFLOW_ID) {
|
|
||||||
const workflowId = this.$route.params.name as string;
|
|
||||||
const workflow = await this.workflowsStore.fetchWorkflow(workflowId);
|
|
||||||
|
|
||||||
this.workflowsStore.setWorkflowId(workflowId);
|
|
||||||
|
|
||||||
if (workflow.active) {
|
|
||||||
this.workflowsStore.setWorkflowActive(workflowId);
|
|
||||||
this.workflowsStore.setActive(workflow.active);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
beforeUnmount() {
|
beforeUnmount() {
|
||||||
this.pushConnection.terminate();
|
this.pushConnection.terminate();
|
||||||
|
|||||||
Reference in New Issue
Block a user