MOBILE-3039 workshop: Fix self-assessment
parent
05f0b0d62e
commit
9aff138f62
|
@ -202,7 +202,7 @@ export class AddonModWorkshopSubmissionPage implements OnInit, OnDestroy {
|
||||||
this.workshop.phase < AddonModWorkshopProvider.PHASE_CLOSED && this.access.canoverridegrades;
|
this.workshop.phase < AddonModWorkshopProvider.PHASE_CLOSED && this.access.canoverridegrades;
|
||||||
this.ownAssessment = false;
|
this.ownAssessment = false;
|
||||||
|
|
||||||
if (this.access.canviewallassessments || this.currentUserId == this.userId) {
|
if (this.access.canviewallassessments) {
|
||||||
// Get new data, different that came from stateParams.
|
// Get new data, different that came from stateParams.
|
||||||
promises.push(this.workshopProvider.getSubmissionAssessments(this.workshopId, this.submissionId)
|
promises.push(this.workshopProvider.getSubmissionAssessments(this.workshopId, this.submissionId)
|
||||||
.then((subAssessments) => {
|
.then((subAssessments) => {
|
||||||
|
|
Loading…
Reference in New Issue