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.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 05, 2024, 12:19