MOBILE-3320 url: Fix embedded URLs

main
Dani Palou 2021-06-09 12:31:30 +02:00
parent edf5763809
commit ed00cefbae
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ export class AddonModUrlModuleHandlerService implements CoreCourseModuleHandler
const modal = await CoreDomUtils.showModalLoading();
try {
const shouldOpen = this.shouldOpenLink(module, courseId);
const shouldOpen = await this.shouldOpenLink(module, courseId);
if (shouldOpen) {
openUrl(module, courseId);