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