Merge pull request #3078 from dpalou/MOBILE-3932
MOBILE-3932 resource: Fix message displayed when outdated and offline
This commit is contained in:
commit
824e702aeb
@ -208,7 +208,7 @@ export class AddonModResourceIndexComponent extends CoreCourseModuleMainResource
|
|||||||
// Warn the user that the file isn't updated.
|
// Warn the user that the file isn't updated.
|
||||||
const alert = await CoreDomUtils.showAlert(
|
const alert = await CoreDomUtils.showAlert(
|
||||||
undefined,
|
undefined,
|
||||||
Translate.instant('addon.mod_resource.resourcestatusoutdated'),
|
Translate.instant('addon.mod_resource.resourcestatusoutdatedconfirm'),
|
||||||
);
|
);
|
||||||
|
|
||||||
await alert.onWillDismiss();
|
await alert.onWillDismiss();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user