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