Konstantina Galouni
99ed7ea6ba
1. layout.service.ts: Added "activeMenuItemSubject" to keep value of data['activeMenuItem']. 2. menu.ts: Removed "markAsActive" (not used) | Set RootMenuItem as deprecated (should use only MenuItem) | Added "isTheActiveMenuItem()" method to check if a MenuItem (root or not / sidebar or navbar) is active. 3. navigationBar.component.ts: Updated "isTheActiveMenu()" method to call MenuItem.isTheActiveMenu() | Removed method "isTheActiveMenuItem()". 4. navigationBar.component.html: Always call "isTheActiveMenu()" method. 5. sideBar.component.ts: Added "get currentRoute()" and updated method "isTheActiveMenuItem()". 6. tabs.component.ts: [Bug fix] Removed [class.uk-active] from <li> of tabs (since small-tabs are not currently used it is ok to remove this) - caused by version update of Uikit. 7. monitor-routing.module.ts: Set activeMenuItem: "dashboard" for any path under a stakeholder that has nothing or anything under a topic. | Set activeMenuItem: "search" in paths under search. 8. app-routing.module.ts: Set activeMenuItem: "manage" for paths under admin/:stakeholder. 9. app.component.ts: Updated menu in Admin Dashboard (all items visible and logo of monitor used) | Set value for MenuItem.routeActive when adding menu items of topics and users. |
||
---|---|---|
claims | ||
connect | ||
contact-us | ||
dashboard | ||
deposit | ||
error | ||
landingPages | ||
login | ||
monitor | ||
notifications | ||
orcid | ||
reload | ||
role-verification | ||
searchPages | ||
services | ||
shared | ||
sharedComponents | ||
utils | ||
.gitignore | ||
cache-interceptor.service.ts | ||
error-interceptor.service.ts | ||
http-interceptor.service.ts | ||
timeout-interceptor.service.ts |