👕 Fix lint issue

This commit is contained in:
Jan Oberhauser 2019-09-20 14:07:02 +02:00
parent 4c71ed22cd
commit a595434cd0
3 changed files with 4 additions and 8 deletions

View file

@ -92,8 +92,6 @@ export default Vue.extend({
// Make sure that we do not get before the first nodeType // Make sure that we do not get before the first nodeType
this.activeNodeTypeIndex = Math.max(this.activeNodeTypeIndex, 0); this.activeNodeTypeIndex = Math.max(this.activeNodeTypeIndex, 0);
} else if (e.key === 'Enter' && activeNodeType) { } else if (e.key === 'Enter' && activeNodeType) {
console.log('enter');
this.nodeTypeSelected(activeNodeType.name); this.nodeTypeSelected(activeNodeType.name);
} }

View file

@ -427,8 +427,6 @@ export default mixins(
this.textEditDialogVisible = false; this.textEditDialogVisible = false;
}, },
displayEditDialog () { displayEditDialog () {
console.log('displayEditDialog...');
if (this.isEditor) { if (this.isEditor) {
this.codeEditDialogVisible = true; this.codeEditDialogVisible = true;
} else { } else {

View file

@ -171,8 +171,8 @@ export default mixins(
RunData, RunData,
}, },
errorCaptured: (err, vm, info) => { errorCaptured: (err, vm, info) => {
console.error('errorCaptured .....'); console.error('errorCaptured'); // eslint-disable-line no-console
console.error(err); console.error(err); // eslint-disable-line no-console
}, },
watch: { watch: {
// Listen to route changes and load the workflow accordingly // Listen to route changes and load the workflow accordingly
@ -1567,8 +1567,8 @@ export default mixins(
try { try {
nodeParameters = NodeHelpers.getNodeParameters(nodeType.properties, node.parameters, true, false); nodeParameters = NodeHelpers.getNodeParameters(nodeType.properties, node.parameters, true, false);
} catch (e) { } catch (e) {
console.error(`There was a problem loading the node-parameters of node: "${node.name}"`); console.error(`There was a problem loading the node-parameters of node: "${node.name}"`); // eslint-disable-line no-console
console.error(e); console.error(e); // eslint-disable-line no-console
} }
node.parameters = nodeParameters !== null ? nodeParameters : {}; node.parameters = nodeParameters !== null ? nodeParameters : {};
} }