Skip to content
Snippets Groups Projects
Commit abda1f56 authored by Lukas Mauß's avatar Lukas Mauß
Browse files

Remove debug logs

parent 7dfbb6a7
Branches
Tags
No related merge requests found
...@@ -35,7 +35,6 @@ export class ContentEditComponent implements OnInit { ...@@ -35,7 +35,6 @@ export class ContentEditComponent implements OnInit {
updateAnswer(index: number) { updateAnswer(index: number) {
if (this.displayAnswers[index].correct === true) { if (this.displayAnswers[index].correct === true) {
this.ansCounter++; this.ansCounter++;
console.log(this.ansCounter);
if ((!this.content.multiple) && this.ansCounter > 1) { if ((!this.content.multiple) && this.ansCounter > 1) {
for (let i = 0; i < this.displayAnswers.length; i++) { for (let i = 0; i < this.displayAnswers.length; i++) {
if (!(i === index)) { if (!(i === index)) {
...@@ -67,7 +66,6 @@ export class ContentEditComponent implements OnInit { ...@@ -67,7 +66,6 @@ export class ContentEditComponent implements OnInit {
return; return;
} }
for (let i = 0; i < this.content.options.length; i++) { for (let i = 0; i < this.content.options.length; i++) {
console.log(i);
if (this.displayAnswers[i].answerOption.label === '') { if (this.displayAnswers[i].answerOption.label === '') {
this.translateService.get('content.no-empty2').subscribe(message => { this.translateService.get('content.no-empty2').subscribe(message => {
this.notificationService.show(message); this.notificationService.show(message);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment