From 9aff138f627ba1913ca554fd366f936386384905 Mon Sep 17 00:00:00 2001 From: Albert Gasset Date: Thu, 6 Jun 2019 15:56:08 +0200 Subject: [PATCH] MOBILE-3039 workshop: Fix self-assessment --- src/addon/mod/workshop/pages/submission/submission.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/addon/mod/workshop/pages/submission/submission.ts b/src/addon/mod/workshop/pages/submission/submission.ts index 4dffe0d60..1158e5df5 100644 --- a/src/addon/mod/workshop/pages/submission/submission.ts +++ b/src/addon/mod/workshop/pages/submission/submission.ts @@ -202,7 +202,7 @@ export class AddonModWorkshopSubmissionPage implements OnInit, OnDestroy { this.workshop.phase < AddonModWorkshopProvider.PHASE_CLOSED && this.access.canoverridegrades; this.ownAssessment = false; - if (this.access.canviewallassessments || this.currentUserId == this.userId) { + if (this.access.canviewallassessments) { // Get new data, different that came from stateParams. promises.push(this.workshopProvider.getSubmissionAssessments(this.workshopId, this.submissionId) .then((subAssessments) => {