Skip to content

Commit

Permalink
Issue #PS-2103: Add Workspace UI implementation in admin portal
Browse files Browse the repository at this point in the history
  • Loading branch information
Aar-if committed Oct 9, 2024
1 parent 95f01ad commit 6454960
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/layouts/sidebar/MenuItems.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ 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 isEditorUrlDefined = typeof process.env.REMOTE_EDITOR_URL !== 'undefined';
const isBaseUrlDefined = typeof process.env.REMOTE_EDITOR_URL == 'undefined';


//
Expand Down Expand Up @@ -66,7 +66,7 @@ const Menuitems = [
icon: coursePannerIcon,
href: "/course-planner",
},
...(isEditorUrlDefined
...(isBaseUrlDefined
? [
{
title: "SIDEBAR.WORKSPACE",
Expand All @@ -78,3 +78,5 @@ const Menuitems = [
];

export default Menuitems;


0 comments on commit 6454960

Please sign in to comment.