diff --git a/dashboard/src/modules/components/HeaderComponent/index.jsx b/dashboard/src/modules/components/HeaderComponent/index.jsx index 7e1fa04668..aa5cda8212 100644 --- a/dashboard/src/modules/components/HeaderComponent/index.jsx +++ b/dashboard/src/modules/components/HeaderComponent/index.jsx @@ -142,7 +142,7 @@ const HeaderComponent = () => { - + diff --git a/dashboard/src/modules/components/SidebarComponent/sideMenuOptions.js b/dashboard/src/modules/components/SidebarComponent/sideMenuOptions.js index 0aa3184243..b615ffc81e 100644 --- a/dashboard/src/modules/components/SidebarComponent/sideMenuOptions.js +++ b/dashboard/src/modules/components/SidebarComponent/sideMenuOptions.js @@ -1,3 +1,5 @@ +import * as APP_ROUTES from "utils/routeConstants"; + export const menuOptions = [ { group: { key: "dashboard", title: "Dashboard" }, @@ -7,35 +9,35 @@ export const menuOptions = [ submenu: true, key: "overview", submenuOf: "dashboard", - link: "overview", + link: APP_ROUTES.OVERVIEW, }, { name: "Analysis", submenu: true, key: "analysis", submenuOf: "dashboard", - link: "analysis", + link: APP_ROUTES.ANALYSIS, }, { name: "All runs", submenu: true, key: "all_runs", submenuOf: "dashboard", - link: "all-runs", + link: APP_ROUTES.ALL_RUNS, }, { name: "Results", submenu: true, key: "results", submenuOf: "dashboard", - link: "results", + link: APP_ROUTES.RESULTS, }, { name: "Visualization", submenu: true, key: "visualization", submenuOf: "dashboard", - link: "visualization", + link: APP_ROUTES.VISUALIZATION, }, ], }, @@ -47,7 +49,7 @@ export const menuOptions = [ submenu: true, key: "search", submenuOf: "tools", - link: "search", + link: APP_ROUTES.SEARCH, }, ], }, @@ -55,6 +57,6 @@ export const menuOptions = [ export const menuOptionsNonLoggedIn = [ { key: "dashboard", link: "/", name: "Dashboard" }, - { key: "search", link: "search", name: "Search" }, - { key: "expore", link: "explore", name: "Explore" }, + { key: "search", link: APP_ROUTES.SEARCH, name: "Search" }, + { key: "expore", link: APP_ROUTES.EXPLORE, name: "Explore" }, ];