chore: add debug

This commit is contained in:
2022-10-10 15:26:11 +02:00
parent c638bd035d
commit 2e0b7440ce
3 changed files with 73 additions and 71 deletions

View File

@@ -127,6 +127,7 @@ export default class Login extends Vue {
saveResult() {
const responsesFormatted: { score: number; comment?: string; questionId: number }[] = [];
quizStore.responses.forEach((value, key) => {
console.info(key, value);
responsesFormatted.push({
score: value.score ? value.score : 0,
comment: value.comment,

View File

@@ -47,6 +47,7 @@ export default class Quiz extends VuexModule {
score: response.score
});
}
console.info(this.responses);
const questionsRated = this.questionsRatedPerAxe.get(response.axeId);
if (questionsRated) {
questionsRated