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),
|
||||
},
|
||||
{
|
||||
path: 'settings',
|
||||
path: 'calendar-settings',
|
||||
loadChildren: () =>
|
||||
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.
|
||||
*/
|
||||
openSettings(): void {
|
||||
CoreNavigator.navigateToSitePath('/calendar/settings');
|
||||
CoreNavigator.navigateToSitePath('/calendar/calendar-settings');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue