We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dfcb2ea commit 841e99dCopy full SHA for 841e99d
src/views/Submit.vue
@@ -611,7 +611,11 @@ export default {
611
for (const answer of loadedAnswers) {
612
const questionId = answer.questionId
613
const text = answer.text
614
- answers[questionId] = []
+
615
+ // Only initialize once, don't overwrite previous answers
616
+ if (!answers[questionId]) {
617
+ answers[questionId] = []
618
+ }
619
620
logger.debug(`questionId: ${questionId}, answerId: ${answer.id}`)
621
// Clean up answers for questions that do not exist anymore
0 commit comments