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