Skip to content

Commit

Permalink
Merge pull request #258 from Aar-if/main
Browse files Browse the repository at this point in the history
Issue #1817 feat: View course planner on admin app UI development
  • Loading branch information
itsvick authored Oct 14, 2024
2 parents 8a6a2c8 + bf9e39b commit 39b42e0
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions src/components/layouts/sidebar/MenuItems.js
Original file line number Diff line number Diff line change
@@ -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 = [
// {
Expand Down Expand Up @@ -40,8 +38,6 @@ const Menuitems = [
],
},



{
title: "Master ",
icon: masterIcon,
Expand All @@ -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",
Expand All @@ -78,5 +79,3 @@ const Menuitems = [
];

export default Menuitems;


0 comments on commit 39b42e0

Please sign in to comment.