diff --git a/src/views/Submit.vue b/src/views/Submit.vue index e0f29cd97..bcc30bcc9 100644 --- a/src/views/Submit.vue +++ b/src/views/Submit.vue @@ -611,7 +611,11 @@ export default { for (const answer of loadedAnswers) { const questionId = answer.questionId const text = answer.text - answers[questionId] = [] + + // Only initialize once, don't overwrite previous answers + if (!answers[questionId]) { + answers[questionId] = [] + } logger.debug(`questionId: ${questionId}, answerId: ${answer.id}`) // Clean up answers for questions that do not exist anymore