Skip to content

Commit

Permalink
Revert "modify header for logistration mfe (#73)" (#74)
Browse files Browse the repository at this point in the history
This reverts commit bb7c5cb.
  • Loading branch information
waheedahmed authored Nov 18, 2020
1 parent bb7c5cb commit 726aff9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.cache
.DS_Store
.idea
coverage
dist
node_modules
Expand Down
4 changes: 2 additions & 2 deletions src/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ ensureConfig([
function Header({ intl }) {
const { authenticatedUser, config } = useContext(AppContext);

const mainMenu = config.HIDE_HEADER_NAV === 'true' ? [] : [
const mainMenu = [
{
type: 'item',
href: `${config.LMS_BASE_URL}/dashboard`,
Expand Down Expand Up @@ -52,7 +52,7 @@ function Header({ intl }) {
},
];

const loggedOutItems = config.HIDE_HEADER_NAV === 'true' ? [] : [
const loggedOutItems = [
{
type: 'item',
href: config.LOGIN_URL,
Expand Down

0 comments on commit 726aff9

Please sign in to comment.