MOBILE-3833 calendar: Fix route conflicts
parent
67fd2a23b1
commit
a11ca3726b
|
@ -28,7 +28,7 @@ function buildRoutes(injector: Injector): Routes {
|
||||||
loadChildren: () => import('@addons/calendar/pages/index/index.module').then(m => m.AddonCalendarIndexPageModule),
|
loadChildren: () => import('@addons/calendar/pages/index/index.module').then(m => m.AddonCalendarIndexPageModule),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: 'settings',
|
path: 'calendar-settings',
|
||||||
loadChildren: () =>
|
loadChildren: () =>
|
||||||
import('@addons/calendar/pages/settings/settings.module').then(m => m.AddonCalendarSettingsPageModule),
|
import('@addons/calendar/pages/settings/settings.module').then(m => m.AddonCalendarSettingsPageModule),
|
||||||
},
|
},
|
||||||
|
|
|
@ -360,7 +360,7 @@ export class AddonCalendarIndexPage implements OnInit, OnDestroy {
|
||||||
* Open calendar events settings.
|
* Open calendar events settings.
|
||||||
*/
|
*/
|
||||||
openSettings(): void {
|
openSettings(): void {
|
||||||
CoreNavigator.navigateToSitePath('/calendar/settings');
|
CoreNavigator.navigateToSitePath('/calendar/calendar-settings');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue