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 a454e9bf6bc..ef16dbe3d80 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 @@ -106,11 +106,13 @@ export class QuestionResponsePanelComponent { question.hasResponseButNotVisibleForPreview = responses.hasResponseButNotVisibleForPreview; question.hasCommentNotVisibleForPreview = responses.hasCommentNotVisibleForPreview; } - if (question.errorMessage) { - this.statusMessageService.showSuccessToast('Question ' - .concat(question.feedbackQuestion.questionNumber.toString()) - .concat(' has no responses.')); - } + else { + question.hasResponse = false; + if (question.errorMessage) { + this.statusMessageService.showSuccessToast('Question ' + .concat(question.feedbackQuestion.questionNumber.toString()) + .concat(' has no responses.')); + } }, complete: () => { question.isLoaded = true;