Revert "modify header for logistration mfe (#73)" (#74)

This reverts commit bb7c5cb39f.
This commit is contained in:
Waheed Ahmed
2020-11-18 11:24:13 +05:00
committed by GitHub
parent bb7c5cb39f
commit 726aff9f8d
2 changed files with 2 additions and 3 deletions

1
.gitignore vendored
View File

@@ -1,6 +1,5 @@
.cache
.DS_Store
.idea
coverage
dist
node_modules

View File

@@ -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`,
@@ -52,7 +52,7 @@ function Header({ intl }) {
},
];
const loggedOutItems = config.HIDE_HEADER_NAV === 'true' ? [] : [
const loggedOutItems = [
{
type: 'item',
href: config.LOGIN_URL,