From bf9e39b16f6f7c85148af85e99933ec765675997 Mon Sep 17 00:00:00 2001 From: Arif-tekdi-technologies Date: Mon, 14 Oct 2024 19:15:13 +0530 Subject: [PATCH] Issue #1817 feat: View course planner on admin app UI development --- src/components/layouts/sidebar/MenuItems.js | 25 ++++++++++----------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/src/components/layouts/sidebar/MenuItems.js b/src/components/layouts/sidebar/MenuItems.js index ae636888..33f2dfb6 100644 --- a/src/components/layouts/sidebar/MenuItems.js +++ b/src/components/layouts/sidebar/MenuItems.js @@ -1,13 +1,11 @@ -import masterIcon from '../../../../public/images/database.svg'; -import centerIcon from '../../../../public/images/centers.svg'; -import dashboardIcon from '../../../../public/images/dashboard.svg'; -import userIcon from '../../../../public/images/group.svg'; -import coursePannerIcon from '../../../../public/images/event_available.svg'; +import masterIcon from "../../../../public/images/database.svg"; +import centerIcon from "../../../../public/images/centers.svg"; +import dashboardIcon from "../../../../public/images/dashboard.svg"; +import userIcon from "../../../../public/images/group.svg"; +import coursePannerIcon from "../../../../public/images/event_available.svg"; const ENV = process.env.NEXT_PUBLIC_SHOW_WORKSPACE; - -// - +// const Menuitems = [ // { @@ -40,8 +38,6 @@ const Menuitems = [ ], }, - - { title: "Master ", icon: masterIcon, @@ -66,7 +62,12 @@ const Menuitems = [ icon: coursePannerIcon, href: "/course-planner", }, - ...(ENV === 'true' + { + title: "SIDEBAR.TEST_BUTTON", + icon: coursePannerIcon, + href: "/course-planner", + }, + ...(ENV === "true" ? [ { title: "SIDEBAR.WORKSPACE", @@ -78,5 +79,3 @@ const Menuitems = [ ]; export default Menuitems; - -