MOBILE-4188 grades: Fix search results swiping
parent
fa6eb60470
commit
c06671a760
|
@ -81,10 +81,13 @@ export class CoreGradesCoursePage implements AfterViewInit, OnDestroy {
|
|||
CoreRoutedItemsManagerSourcesTracker.getOrCreateSource(CoreGradesCoursesSource, []),
|
||||
);
|
||||
break;
|
||||
case 'participants':
|
||||
case 'participants': {
|
||||
const search = CoreNavigator.getRouteParam('search');
|
||||
|
||||
this.swipeManager = new CoreGradesCourseParticipantsSwipeManager(
|
||||
CoreRoutedItemsManagerSourcesTracker.getOrCreateSource(CoreUserParticipantsSource, [this.courseId]),
|
||||
CoreRoutedItemsManagerSourcesTracker.getOrCreateSource(CoreUserParticipantsSource, [this.courseId, search]),
|
||||
);
|
||||
}
|
||||
break;
|
||||
}
|
||||
} catch (error) {
|
||||
|
|
Loading…
Reference in New Issue