forked from EVOgeek/Vmeda.Online
MOBILE-2913 course: Fix section download button disappear on PTR
This commit is contained in:
parent
4015641ee5
commit
900c9b741e
@ -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);
|
this.calculateSectionsStatus(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user