MOBILE-4207 forum: Fix classes prefix
parent
3dd5acc411
commit
022c57d6ff
|
@ -36,4 +36,4 @@ const routes: Routes = [{
|
|||
AddonModForumDiscussionPage,
|
||||
],
|
||||
})
|
||||
export class AddonForumDiscussionLazyModule {}
|
||||
export class AddonModForumDiscussionLazyModule {}
|
||||
|
|
|
@ -29,15 +29,15 @@ const mobileRoutes: Routes = [
|
|||
},
|
||||
{
|
||||
path: ':courseId/:cmId/new/:timeCreated',
|
||||
loadChildren: () => import('./forum-new-discussion-lazy.module').then(m => m.AddonForumNewDiscussionLazyModule),
|
||||
loadChildren: () => import('./forum-new-discussion-lazy.module').then(m => m.AddonModForumNewDiscussionLazyModule),
|
||||
},
|
||||
{
|
||||
path: ':courseId/:cmId/:discussionId',
|
||||
loadChildren: () => import('./forum-discussion-lazy.module').then(m => m.AddonForumDiscussionLazyModule),
|
||||
loadChildren: () => import('./forum-discussion-lazy.module').then(m => m.AddonModForumDiscussionLazyModule),
|
||||
},
|
||||
{
|
||||
path: 'discussion/:discussionId', // Only for discussion link handling.
|
||||
loadChildren: () => import('./forum-discussion-lazy.module').then(m => m.AddonForumDiscussionLazyModule),
|
||||
loadChildren: () => import('./forum-discussion-lazy.module').then(m => m.AddonModForumDiscussionLazyModule),
|
||||
},
|
||||
];
|
||||
|
||||
|
@ -48,11 +48,11 @@ const tabletRoutes: Routes = [
|
|||
children: [
|
||||
{
|
||||
path: 'new/:timeCreated',
|
||||
loadChildren: () => import('./forum-new-discussion-lazy.module').then(m => m.AddonForumNewDiscussionLazyModule),
|
||||
loadChildren: () => import('./forum-new-discussion-lazy.module').then(m => m.AddonModForumNewDiscussionLazyModule),
|
||||
},
|
||||
{
|
||||
path: ':discussionId',
|
||||
loadChildren: () => import('./forum-discussion-lazy.module').then(m => m.AddonForumDiscussionLazyModule),
|
||||
loadChildren: () => import('./forum-discussion-lazy.module').then(m => m.AddonModForumDiscussionLazyModule),
|
||||
},
|
||||
],
|
||||
},
|
||||
|
|
|
@ -38,4 +38,4 @@ const routes: Routes = [{
|
|||
AddonModForumNewDiscussionPage,
|
||||
],
|
||||
})
|
||||
export class AddonForumNewDiscussionLazyModule {}
|
||||
export class AddonModForumNewDiscussionLazyModule {}
|
||||
|
|
|
@ -55,7 +55,7 @@ export const ADDON_MOD_FORUM_SERVICES: Type<unknown>[] = [
|
|||
const mainMenuRoutes: Routes = [
|
||||
{
|
||||
path: `${AddonModForumModuleHandlerService.PAGE_NAME}/discussion/:discussionId`,
|
||||
loadChildren: () => import('./forum-discussion-lazy.module').then(m => m.AddonForumDiscussionLazyModule),
|
||||
loadChildren: () => import('./forum-discussion-lazy.module').then(m => m.AddonModForumDiscussionLazyModule),
|
||||
data: { swipeEnabled: false },
|
||||
},
|
||||
{
|
||||
|
@ -66,12 +66,12 @@ const mainMenuRoutes: Routes = [
|
|||
[
|
||||
{
|
||||
path: `${COURSE_CONTENTS_PATH}/${AddonModForumModuleHandlerService.PAGE_NAME}/new/:timeCreated`,
|
||||
loadChildren: () => import('./forum-new-discussion-lazy.module').then(m => m.AddonForumNewDiscussionLazyModule),
|
||||
loadChildren: () => import('./forum-new-discussion-lazy.module').then(m => m.AddonModForumNewDiscussionLazyModule),
|
||||
data: { discussionsPathPrefix: `${AddonModForumModuleHandlerService.PAGE_NAME}/` },
|
||||
},
|
||||
{
|
||||
path: `${COURSE_CONTENTS_PATH}/${AddonModForumModuleHandlerService.PAGE_NAME}/:discussionId`,
|
||||
loadChildren: () => import('./forum-discussion-lazy.module').then(m => m.AddonForumDiscussionLazyModule),
|
||||
loadChildren: () => import('./forum-discussion-lazy.module').then(m => m.AddonModForumDiscussionLazyModule),
|
||||
data: { discussionsPathPrefix: `${AddonModForumModuleHandlerService.PAGE_NAME}/` },
|
||||
},
|
||||
],
|
||||
|
@ -83,12 +83,12 @@ const courseContentsRoutes: Routes = conditionalRoutes(
|
|||
[
|
||||
{
|
||||
path: `${AddonModForumModuleHandlerService.PAGE_NAME}/new/:timeCreated`,
|
||||
loadChildren: () => import('./forum-new-discussion-lazy.module').then(m => m.AddonForumNewDiscussionLazyModule),
|
||||
loadChildren: () => import('./forum-new-discussion-lazy.module').then(m => m.AddonModForumNewDiscussionLazyModule),
|
||||
data: { discussionsPathPrefix: `${AddonModForumModuleHandlerService.PAGE_NAME}/` },
|
||||
},
|
||||
{
|
||||
path: `${AddonModForumModuleHandlerService.PAGE_NAME}/:discussionId`,
|
||||
loadChildren: () => import('./forum-discussion-lazy.module').then(m => m.AddonForumDiscussionLazyModule),
|
||||
loadChildren: () => import('./forum-discussion-lazy.module').then(m => m.AddonModForumDiscussionLazyModule),
|
||||
data: { discussionsPathPrefix: `${AddonModForumModuleHandlerService.PAGE_NAME}/` },
|
||||
},
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue