File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ MARKETING_SITE_BASE_URL=http://localhost:18000
1414ORDER_HISTORY_URL = localhost:1996/orders
1515REFRESH_ACCESS_TOKEN_ENDPOINT = http://localhost:18000/login_refresh
1616SEGMENT_KEY = null
17+ SHOW_FULLNAME = false
1718SITE_NAME = Open edX
1819USER_INFO_COOKIE_NAME = edx-user-info
1920LOGO_URL = https://edx-cdn.org/v3/default/logo.svg
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ import PropTypes from 'prop-types';
33
44import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' ;
55import { faUserCircle } from '@fortawesome/free-solid-svg-icons' ;
6-
76import { getConfig } from '@edx/frontend-platform' ;
87import { injectIntl , intlShape } from '@edx/frontend-platform/i18n' ;
98import { Dropdown } from '@openedx/paragon' ;
@@ -12,7 +11,7 @@ import messages from './messages';
1211
1312const AuthenticatedUserDropdown = ( { intl, name } ) => {
1413 const dashboardMenuItem = (
15- < Dropdown . Item href = { `${ process . env . MARKETING_SITE_BASE_URL } /dashboard` } >
14+ < Dropdown . Item href = { `${ getConfig ( ) . LMS_BASE_URL } /dashboard` } >
1615 { intl . formatMessage ( messages . dashboard ) }
1716 </ Dropdown . Item >
1817 ) ;
@@ -29,7 +28,7 @@ const AuthenticatedUserDropdown = ({ intl, name }) => {
2928 </ Dropdown . Toggle >
3029 < Dropdown . Menu className = "dropdown-menu-right" >
3130 { dashboardMenuItem }
32- < Dropdown . Item href = { `${ getConfig ( ) . MARKETING_SITE_BASE_URL } /profile/ ` } >
31+ < Dropdown . Item href = { `${ getConfig ( ) . ACCOUNT_PROFILE_URL } /u/ ${ username } ` } >
3332 { intl . formatMessage ( messages . profile ) }
3433 </ Dropdown . Item >
3534 < Dropdown . Item href = { getConfig ( ) . ACCOUNT_SETTINGS_URL } >
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ const LearningHeader = ({
3333 const headerLogo = (
3434 < LinkedLogo
3535 className = "logo"
36- href = { `${ getConfig ( ) . MARKETING_SITE_BASE_URL } ` }
36+ href = { `${ getConfig ( ) . LMS_BASE_URL } /dashboard ` }
3737 src = { getConfig ( ) . LOGO_URL }
3838 alt = { getConfig ( ) . SITE_NAME }
3939 />
You can’t perform that action at this time.
0 commit comments