riko facco
riko facco

Reputation: 1

ABP Framework 9 (.net 9) with Angular - Menu activation problems

I have two routes /agents and /agents/:id and to activate menu Agents when in both routes

Both routes are opening their components but only /agents is activating properly the menu option "Agents"

my resumed code:

app-routing.module.ts

    { path: 'agents' loadChildreen: () => import(...).then(m=>m.AgentsModule}

route.provider.ts

    {
        path: '/agents',
        name: '::Menu:Agents',
    }

agents-routing.module.ts

    Routes = [
        { path: '', component: AgentsComponent },
        { path: ':id', component: AgentsComponent }
    ]

I tried several things I saw on internet:

Not my first choice but I'm considering a full replacement of abp navbar component

Upvotes: 0

Views: 48

Answers (0)

Related Questions