chore: add debug
This commit is contained in:
@@ -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,
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user