Merge pull request #3623 from NoelDeMartin/MOBILE-4188

MOBILE-4188: Teacher gradebook tweaks
main
Dani Palou 2023-04-19 15:40:26 +02:00 committed by GitHub
commit 90f710c7e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 16 deletions

View File

@ -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) {

View File

@ -31,7 +31,6 @@ import { CoreRoutedItemsManagerSourcesTracker } from '@classes/items-management/
@Component({
selector: 'page-core-user-participants',
templateUrl: 'participants.html',
styleUrls: ['participants.scss'],
})
export class CoreUserParticipantsPage implements OnInit, AfterViewInit, OnDestroy {

View File

@ -1,13 +0,0 @@
:host {
core-split-view {
isolation: isolate;
}
core-search-box {
position: sticky;
top: 8px;
z-index: 1;
}
}