MOBILE-2795 workshop: Fix prefetch grade reports
parent
5520598e31
commit
0fb7638c29
|
@ -297,13 +297,13 @@ export class AddonModWorkshopPrefetchHandler extends CoreCourseActivityPrefetchH
|
||||||
userIds.push(grade.userid);
|
userIds.push(grade.userid);
|
||||||
userIds.push(grade.gradeoverby);
|
userIds.push(grade.gradeoverby);
|
||||||
|
|
||||||
grade.reviewedby.forEach((assessment) => {
|
grade.reviewedby && grade.reviewedby.forEach((assessment) => {
|
||||||
userIds.push(assessment.userid);
|
userIds.push(assessment.userid);
|
||||||
userIds.push(assessment.gradinggradeoverby);
|
userIds.push(assessment.gradinggradeoverby);
|
||||||
assessments[assessment.assessmentid] = assessment;
|
assessments[assessment.assessmentid] = assessment;
|
||||||
});
|
});
|
||||||
|
|
||||||
grade.reviewerof.forEach((assessment) => {
|
grade.reviewerof && grade.reviewerof.forEach((assessment) => {
|
||||||
userIds.push(assessment.userid);
|
userIds.push(assessment.userid);
|
||||||
userIds.push(assessment.gradinggradeoverby);
|
userIds.push(assessment.gradinggradeoverby);
|
||||||
assessments[assessment.assessmentid] = assessment;
|
assessments[assessment.assessmentid] = assessment;
|
||||||
|
|
|
@ -852,7 +852,6 @@ ion-app.app-root {
|
||||||
|
|
||||||
core-loading {
|
core-loading {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
position: relative !important;
|
|
||||||
|
|
||||||
.core-loading-content {
|
.core-loading-content {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
Loading…
Reference in New Issue