Remove logs

This commit is contained in:
Erin 2020-07-20 11:52:24 -04:00
parent 70a584a46d
commit 5f32341a9e
3 changed files with 6 additions and 6 deletions

View file

@ -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;

View file

@ -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,

View file

@ -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;
}
});
},