Open Closed

Make multiple routes have the same menu active #5318


User avatar
0
linhhn@arius.vn created

I want to make multiple routes have the same menu active Please show me how to customize using LeptonX

Eg: /project /project/add /project/:id

only Project menu active for 3 routes

  • ABP Framework version: v7.2.2
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

1 Answer(s)
  • User Avatar
    0
    mahmut.gundogdu created

    NavbarRoutesComponent component manage menu-items. Navbaritems stored in NavbarService . If you mark an item as selected and another item in the parent as expanded, it will appear as selected.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.2.0-preview. Updated on March 19, 2025, 10:09