diff --git a/src/web/app/components/question-response-panel/question-response-panel.component.ts b/src/web/app/components/question-response-panel/question-response-panel.component.ts index e1b3a9d6e4c..e44f8a56f55 100644 --- a/src/web/app/components/question-response-panel/question-response-panel.component.ts +++ b/src/web/app/components/question-response-panel/question-response-panel.component.ts @@ -96,6 +96,7 @@ export class QuestionResponsePanelComponent { next: (sessionResults: SessionResults) => { const responses: QuestionOutput = sessionResults.questions[0]; if (responses) { + question.hasResponse = true; question.feedbackQuestion = responses.feedbackQuestion; question.allResponses = responses.allResponses; question.otherResponses = responses.otherResponses; @@ -104,7 +105,7 @@ export class QuestionResponsePanelComponent { question.responsesToSelf = responses.responsesToSelf; question.hasResponseButNotVisibleForPreview = responses.hasResponseButNotVisibleForPreview; question.hasCommentNotVisibleForPreview = responses.hasCommentNotVisibleForPreview; - } else { + } else { question.hasResponse = false; if (question.errorMessage) { this.statusMessageService.showSuccessToast('Question ' diff --git a/src/web/app/components/question-submission-form/question-submission-form.component.html b/src/web/app/components/question-submission-form/question-submission-form.component.html index 069c63a0899..5f964b5cb39 100644 --- a/src/web/app/components/question-submission-form/question-submission-form.component.html +++ b/src/web/app/components/question-submission-form/question-submission-form.component.html @@ -214,7 +214,8 @@