Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/views/Submit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,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
Expand Down
Loading