MOBILE-3320 url: Fix embedded URLs
parent
edf5763809
commit
ed00cefbae
|
@ -89,7 +89,7 @@ export class AddonModUrlModuleHandlerService implements CoreCourseModuleHandler
|
||||||
const modal = await CoreDomUtils.showModalLoading();
|
const modal = await CoreDomUtils.showModalLoading();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const shouldOpen = this.shouldOpenLink(module, courseId);
|
const shouldOpen = await this.shouldOpenLink(module, courseId);
|
||||||
|
|
||||||
if (shouldOpen) {
|
if (shouldOpen) {
|
||||||
openUrl(module, courseId);
|
openUrl(module, courseId);
|
||||||
|
|
Loading…
Reference in New Issue