MOBILE-3320 glossary: Fix link handlers
parent
224a7baa7d
commit
15e35c7bac
|
@ -47,12 +47,8 @@ export class AddonModGlossaryEditLinkHandlerService extends CoreContentLinksHand
|
|||
const module = await CoreCourse.getModuleBasicInfo(cmId, siteId);
|
||||
|
||||
await CoreNavigator.navigateToSitePath(
|
||||
AddonModGlossaryModuleHandlerService.PAGE_NAME + '/edit/0',
|
||||
AddonModGlossaryModuleHandlerService.PAGE_NAME + `/${module.course}/${module.id}/edit/0`,
|
||||
{
|
||||
params: {
|
||||
cmId: module.id,
|
||||
courseId: module.course,
|
||||
},
|
||||
siteId,
|
||||
},
|
||||
);
|
||||
|
|
|
@ -52,12 +52,8 @@ export class AddonModGlossaryEntryLinkHandlerService extends CoreContentLinksHan
|
|||
);
|
||||
|
||||
await CoreNavigator.navigateToSitePath(
|
||||
AddonModGlossaryModuleHandlerService.PAGE_NAME + `/entry/${entryId}`,
|
||||
AddonModGlossaryModuleHandlerService.PAGE_NAME + `/${module.course}/${module.id}/entry/${entryId}`,
|
||||
{
|
||||
params: {
|
||||
cmId: module.id,
|
||||
courseId: module.course,
|
||||
},
|
||||
siteId,
|
||||
},
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue