MOBILE-3833 calendar: Fix route conflicts

main
Noel De Martin 2022-03-17 16:14:01 +01:00
parent 67fd2a23b1
commit a11ca3726b
2 changed files with 2 additions and 2 deletions

View File

@ -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),
}, },

View File

@ -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');
} }
/** /**