Merge pull request #2547 from crazyserver/MOBILE-3562

MOBILE-3562 course: Remove course overview file listing on preview
main
Juan Leyva 2020-09-28 10:55:10 +02:00 committed by GitHub
commit bee759dd91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 2 deletions

View File

@ -42,7 +42,6 @@
</ng-container>
</ion-item>
<core-file *ngFor="let file of course.overviewfiles" [file]="file" [component]="component" [componentId]="course.id"></core-file>
<div *ngIf="!isEnrolled" detail-none>
<ion-item text-wrap *ngFor="let instance of selfEnrolInstances">
<h2>{{ instance.name }}</h2>

View File

@ -38,7 +38,6 @@ export class CoreCoursesCoursePreviewPage implements OnDestroy {
course: any;
isEnrolled: boolean;
canAccessCourse = true;
component = 'CoreCoursesCoursePreview';
selfEnrolInstances: any[] = [];
paypalEnabled: boolean;
dataLoaded: boolean;