MOBILE-2913 course: Fix section download button disappear on PTR

main
Dani Palou 2019-03-11 10:29:32 +01:00
parent 4015641ee5
commit 900c9b741e
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ export class CoreCourseFormatComponent implements OnInit, OnChanges, OnDestroy {
}
}
if (changes.downloadEnabled && this.downloadEnabled) {
if (this.downloadEnabled && (changes.downloadEnabled || changes.sections)) {
this.calculateSectionsStatus(false);
}
}