MOBILE-2795 workshop: Fix prefetch grade reports

main
Pau Ferrer Ocaña 2019-01-07 12:50:50 +01:00
parent 5520598e31
commit 0fb7638c29
2 changed files with 2 additions and 3 deletions

View File

@ -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;

View File

@ -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;