File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -70,8 +70,6 @@ const Header = ({
70
70
} , [ ] ) ;
71
71
72
72
if ( TopNavRef ) {
73
- console . log ( 'TopNavRef' ) ;
74
- console . log ( JSON . stringify ( profile , 4 , null ) ) ;
75
73
return (
76
74
< div styleName = "nav-header-wrapper" >
77
75
< TopNavRef
Original file line number Diff line number Diff line change @@ -124,6 +124,8 @@ class MenuLoaderContainer extends React.Component {
124
124
}
125
125
// eslint-disable-next-line global-require
126
126
const { TopNav, LoginNav } = require ( 'navigation-component' ) ;
127
+ console . log ( 'TopNavRef' ) ;
128
+ console . log ( JSON . stringify ( profile , 4 , null ) ) ;
127
129
return (
128
130
< TopNav
129
131
menu = { menu }
@@ -150,6 +152,7 @@ class MenuLoaderContainer extends React.Component {
150
152
setOpenMore = { this . handleChangeOpenMore }
151
153
loggedIn = { ! _ . isEmpty ( auth . profile ) }
152
154
profileHandle = { auth . profile ? auth . profile . handle : '' }
155
+ isWipro = { ( profile && profile . email && profile . email . includes ( '@wipro.com' ) ) }
153
156
logoLink = { fields . logoLink }
154
157
/>
155
158
) ;
You can’t perform that action at this time.
0 commit comments