Skip to content

Commit e6f4314

Browse files
committed
Different debug logging
1 parent edcdbef commit e6f4314

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/shared/components/Header/index.jsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,6 @@ const Header = ({
7070
}, []);
7171

7272
if (TopNavRef) {
73-
console.log('TopNavRef');
74-
console.log(JSON.stringify(profile, 4, null));
7573
return (
7674
<div styleName="nav-header-wrapper">
7775
<TopNavRef

src/shared/containers/Contentful/MenuLoader/index.jsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ class MenuLoaderContainer extends React.Component {
124124
}
125125
// eslint-disable-next-line global-require
126126
const { TopNav, LoginNav } = require('navigation-component');
127+
console.log('TopNavRef');
128+
console.log(JSON.stringify(profile, 4, null));
127129
return (
128130
<TopNav
129131
menu={menu}
@@ -150,6 +152,7 @@ class MenuLoaderContainer extends React.Component {
150152
setOpenMore={this.handleChangeOpenMore}
151153
loggedIn={!_.isEmpty(auth.profile)}
152154
profileHandle={auth.profile ? auth.profile.handle : ''}
155+
isWipro={(profile && profile.email && profile.email.includes('@wipro.com'))}
153156
logoLink={fields.logoLink}
154157
/>
155158
);

0 commit comments

Comments
 (0)