comment all console.log

This commit is contained in:
2021-08-11 10:26:59 +02:00
committed by Marc Ducobu
parent 8d98a144fd
commit a1435314a0
4 changed files with 49 additions and 49 deletions

View File

@@ -63,7 +63,7 @@ export default {
availableForCheckEvaluations() {
let pickedIds = this.$store.state.evaluationsPicked.map(e => e.id);
//console.log('picked ids', pickedIds);
////console.log('picked ids', pickedIds);
return this.$store.state.evaluationsForAction.filter(e => !pickedIds.includes(e.id));
}
@@ -73,12 +73,12 @@ export default {
this.isExpanded = !this.isExpanded;
},
addEvaluation(e) {
//console.log('addEvaluation', e);
////console.log('addEvaluation', e);
this.$store.commit('addEvaluationPicked', e);
return;
},
removeEvaluation(e) {
//console.log('removeEvaluation', e);
////console.log('removeEvaluation', e);
this.$store.commit('removeEvaluationPicked', e);
return;
}

View File

@@ -66,9 +66,9 @@ export default {
throw Error(`this.destination is not implemented: ${this.destination}`);
},
pickedResults() {
console.log('get checked');
console.log('this.destination', this.destination);
console.log('this.goal', this.goal);
//console.log('get checked');
//console.log('this.destination', this.destination);
//console.log('this.goal', this.goal);
if (this.destination === 'action') {
return this.$store.state.resultsPicked;
} else if (this.destination === 'goal') {
@@ -78,16 +78,16 @@ export default {
throw Error(`this.destination is not implemented: ${this.destination}`);
},
availableForCheckResults() {
console.log('availableForCheckResults');
console.log('this.destination', this.destination);
console.log('this.goal', this.goal);
//console.log('availableForCheckResults');
//console.log('this.destination', this.destination);
//console.log('this.goal', this.goal);
if (this.destination === 'action') {
let pickedIds = this.$store.state.resultsPicked.map(r => r.id);
console.log('picked ids', pickedIds);
//console.log('picked ids', pickedIds);
return this.$store.state.resultsForAction.filter(r => !pickedIds.includes(r.id));
} else if (this.destination === 'goal') {
console.log('results picked for goal', this.$store.getters.resultsPickedForGoal(this.goal));
//console.log('results picked for goal', this.$store.getters.resultsPickedForGoal(this.goal));
let pickedIds = this.$store.getters.resultsPickedForGoal(this.goal).map(r => r.id);
return this.$store.getters.resultsForGoal(this.goal).filter(r => !pickedIds.includes(r.id));
@@ -101,7 +101,7 @@ export default {
this.isExpanded = !this.isExpanded;
},
addResult(r) {
console.log('addResult', r);
//console.log('addResult', r);
if (this.destination === 'action') {
this.$store.commit('addResultPicked', r);
return;
@@ -112,7 +112,7 @@ export default {
throw Error(`this.destination is not implemented: ${this.destination}`);
},
removeResult(r) {
console.log('removeresult', r);
//console.log('removeresult', r);
if (this.destination === 'action') {
this.$store.commit('removeResultPicked', r);
return;