Skip to content

Commit

Permalink
SAK-49718 Grader Always reset editor on user switch. (sakaiproject#12605
Browse files Browse the repository at this point in the history
)
  • Loading branch information
adrianfish authored May 15, 2024
1 parent 4b5c2e0 commit 597cc3f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,11 @@ export class SakaiGrader extends graderRenderingMixin(gradableDataMixin(SakaiEle
this._selectedPreview = preview || this._selectedAttachment;
}

if (this.feedbackCommentEditor && this.__submission.feedbackComment) {
if (this.feedbackCommentEditor) {
this.feedbackCommentEditor.setData(this.__submission.feedbackComment, () => this.modified = false);
}

if (this.privateNotesEditor && this.__submission.privateNotes) {
if (this.privateNotesEditor) {
this.privateNotesEditor.setData(this.__submission.privateNotes, () => this.modified = false);
}

Expand Down

0 comments on commit 597cc3f

Please sign in to comment.