MOBILE-3562 course: Remove course overview file listing on preview

main
Pau Ferrer Ocaña 2020-09-25 15:02:23 +02:00
parent 168fbab420
commit 1e6d72f0ff
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;