fix: correct id compute

This commit is contained in:
2022-10-10 15:57:37 +02:00
parent b61fb37e7e
commit 053d9f724b
5 changed files with 73 additions and 76 deletions

View File

@@ -127,7 +127,6 @@ 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,