mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-26 21:19:43 -08:00
Remove logs
This commit is contained in:
parent
70a584a46d
commit
5f32341a9e
|
@ -435,8 +435,10 @@ export default mixins(
|
||||||
|
|
||||||
saveAs(blob, workflowName + '.json');
|
saveAs(blob, workflowName + '.json');
|
||||||
} else if (key === 'workflow-save') {
|
} else if (key === 'workflow-save') {
|
||||||
|
console.log("saving......");
|
||||||
this.saveCurrentWorkflow();
|
this.saveCurrentWorkflow();
|
||||||
} else if (key === 'workflow-save-as') {
|
} else if (key === 'workflow-save-as') {
|
||||||
|
console.log("saving......");
|
||||||
this.saveCurrentWorkflow(true);
|
this.saveCurrentWorkflow(true);
|
||||||
} else if (key === 'help-about') {
|
} else if (key === 'help-about') {
|
||||||
this.aboutDialogVisible = true;
|
this.aboutDialogVisible = true;
|
||||||
|
|
|
@ -488,8 +488,6 @@ export const workflowHelpers = mixins(
|
||||||
data = await this.restApi().getWorkflow(id);
|
data = await this.restApi().getWorkflow(id);
|
||||||
|
|
||||||
if(data !== undefined) {
|
if(data !== undefined) {
|
||||||
console.log(currentData);
|
|
||||||
console.log(data);
|
|
||||||
const x = {
|
const x = {
|
||||||
nodes: data.nodes,
|
nodes: data.nodes,
|
||||||
connections: data.connections,
|
connections: data.connections,
|
||||||
|
|
|
@ -187,7 +187,7 @@ export default mixins(
|
||||||
this.createNodeActive = false;
|
this.createNodeActive = false;
|
||||||
},
|
},
|
||||||
nodes: {
|
nodes: {
|
||||||
handler: async function (val, oldVal) {
|
async handler (val, oldVal) {
|
||||||
// Load a workflow
|
// Load a workflow
|
||||||
let workflowId = null as string | null;
|
let workflowId = null as string | null;
|
||||||
if (this.$route && this.$route.params.name) {
|
if (this.$route && this.$route.params.name) {
|
||||||
|
@ -198,12 +198,11 @@ export default mixins(
|
||||||
} else {
|
} else {
|
||||||
this.isDirty = true;
|
this.isDirty = true;
|
||||||
}
|
}
|
||||||
console.log(this.isDirty);
|
|
||||||
},
|
},
|
||||||
deep: true
|
deep: true
|
||||||
},
|
},
|
||||||
connections: {
|
connections: {
|
||||||
handler: async function (val, oldVal) {
|
async handler (val, oldVal) {
|
||||||
// Load a workflow
|
// Load a workflow
|
||||||
let workflowId = null as string | null;
|
let workflowId = null as string | null;
|
||||||
if (this.$route && this.$route.params.name) {
|
if (this.$route && this.$route.params.name) {
|
||||||
|
@ -214,7 +213,6 @@ export default mixins(
|
||||||
} else {
|
} else {
|
||||||
this.isDirty = true;
|
this.isDirty = true;
|
||||||
}
|
}
|
||||||
console.log(this.isDirty);
|
|
||||||
},
|
},
|
||||||
deep: true
|
deep: true
|
||||||
},
|
},
|
||||||
|
@ -1373,6 +1371,8 @@ export default mixins(
|
||||||
+ 'If you leave before saving, your changes will be lost.';
|
+ 'If you leave before saving, your changes will be lost.';
|
||||||
(e || window.event).returnValue = confirmationMessage; //Gecko + IE
|
(e || window.event).returnValue = confirmationMessage; //Gecko + IE
|
||||||
return confirmationMessage; //Gecko + Webkit, Safari, Chrome etc.
|
return confirmationMessage; //Gecko + Webkit, Safari, Chrome etc.
|
||||||
|
} else {
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue