MOBILE-3833 resource: Don't show outdated warning for external files

main
Dani Palou 2022-04-14 11:15:17 +02:00
parent dab598f473
commit f332b65100
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ export class AddonModResourceIndexComponent extends CoreCourseModuleMainResource
downloadable = await AddonModResourceHelper.isMainFileDownloadable(this.module);
if (downloadable) {
if (this.currentStatus === CoreConstants.OUTDATED && !this.isOnline) {
if (this.currentStatus === CoreConstants.OUTDATED && !this.isOnline && !this.isExternalFile) {
// Warn the user that the file isn't updated.
const alert = await CoreDomUtils.showAlert(
undefined,