Skip to content

Commit

Permalink
Fix oppia#18954 Show comments from reviewer after question is accepted (
Browse files Browse the repository at this point in the history
oppia#19331)

* fix: show question reviewer message <div>

* fix: load question reviewer message
  • Loading branch information
DmirtyUsov authored Dec 23, 2023
1 parent 40da5f2 commit b1c7bfd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,9 @@ export class QuestionSuggestionReviewModalComponent
if (this.reviewable) {
this.siteAnalyticsService
.registerContributorDashboardViewSuggestionForReview('Question');
} else if (this.suggestionIsRejected) {
} else {
this.reviewMessage = ''; // Reset for next/prev.
this.reviewer = '';
this._getThreadMessagesAsync(this.currentSuggestionId);
}
this.showQuestion = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ <h3 class="oppia-mobile-question-header" title="{{questionHeader}}">
</textarea>
</div>
</section>
<div [hidden]="!(!reviewable && suggestionIsRejected)"
<div [hidden]="reviewable"
class="oppia-suggestion-review-message">
<strong>Reviewer: </strong>
{{reviewer}}
Expand Down

0 comments on commit b1c7bfd

Please sign in to comment.