Skip to content

Commit

Permalink
Update question-response-panel.component.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
blejkowski authored Sep 14, 2023
1 parent 4587aaa commit 40a13c6
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 40a13c6

Please sign in to comment.