Global sideDrawer and multiple routing files


#1

Hello,

I’m using a global RadSideDrawer that display several routes, I’m facing an issue when I click on some route it does not navigate.
The problem seems to come from the fact that I have 2 routing files.

//this is in my app.routing.ts
const appRoutes: Routes = [
    { path: 'login', component:LoginComponent}, 
    { path: 'search', loadChildren: './search/search.module#SearchModule'} //leads to another routing file
];

//this is in my sideDrawer.component.ts
    { name: 'search', commands: ['/search'] },   //click does not navigate
    { name: 'Disconnect', commands: ['/login']}, //navigates correctly

Does someone has already faced that issue ? :slight_smile: