Apollo 10 .menu collapses when selecting a subitem.
Posted: 09 Dec 2020, 16:31
I am using the apollo template.
I am loading the menu automatically, but when I migrated to version 10. It does not work correctly.
Apparently it's because the parent node needs a routerlink ('parent') and the subitems are (parent / child1) (parent / child2) ...
It is necessary to define it this way, since in the previous version it was parent (null) (child1) (child2) ... Or that change must be done in the app.menuitem.component.ts
Please
I am loading the menu automatically, but when I migrated to version 10. It does not work correctly.
Apparently it's because the parent node needs a routerlink ('parent') and the subitems are (parent / child1) (parent / child2) ...
It is necessary to define it this way, since in the previous version it was parent (null) (child1) (child2) ... Or that change must be done in the app.menuitem.component.ts
Please