diff --git a/src/DesktopHeader.jsx b/src/DesktopHeader.jsx index c0f111fdb..be4ce4e79 100644 --- a/src/DesktopHeader.jsx +++ b/src/DesktopHeader.jsx @@ -2,6 +2,7 @@ import React from 'react'; import PropTypes from 'prop-types'; import { injectIntl, intlShape } from '@edx/frontend-platform/i18n'; import { getConfig } from '@edx/frontend-platform'; +import { getAuthenticatedUser } from '@edx/frontend-platform/auth'; // Local Components import { Menu, MenuTrigger, MenuContent } from './Menu'; @@ -13,6 +14,7 @@ import messages from './Header.messages'; // Assets import { CaretIcon } from './Icons'; +import LanguageSelector from './LanguageSelector'; class DesktopHeader extends React.Component { constructor(props) { // eslint-disable-line no-useless-constructor @@ -136,7 +138,7 @@ class DesktopHeader extends React.Component { } = this.props; const logoProps = { src: logo, alt: logoAltText, href: logoDestination }; const logoClasses = getConfig().AUTHN_MINIMAL_HEADER ? 'mw-100' : null; - +console.log(loggedIn) return (
{intl.formatMessage(messages['header.label.skip.nav'])} @@ -145,13 +147,21 @@ class DesktopHeader extends React.Component { {logoDestination === null ? : } + {getConfig().ENABLE_HEADER_LANG_SELECTOR && ( +
+ +
+ )}