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
14
14
ORDER_HISTORY_URL = localhost:1996/orders
15
15
REFRESH_ACCESS_TOKEN_ENDPOINT = http://localhost:18000/login_refresh
16
16
SEGMENT_KEY = null
17
+ SHOW_FULLNAME = false
17
18
SITE_NAME = Open edX
18
19
USER_INFO_COOKIE_NAME = edx-user-info
19
20
LOGO_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';
3
3
4
4
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' ;
5
5
import { faUserCircle } from '@fortawesome/free-solid-svg-icons' ;
6
-
7
6
import { getConfig } from '@edx/frontend-platform' ;
8
7
import { injectIntl , intlShape } from '@edx/frontend-platform/i18n' ;
9
8
import { Dropdown } from '@openedx/paragon' ;
@@ -12,7 +11,7 @@ import messages from './messages';
12
11
13
12
const AuthenticatedUserDropdown = ( { intl, name } ) => {
14
13
const dashboardMenuItem = (
15
- < Dropdown . Item href = { `${ process . env . MARKETING_SITE_BASE_URL } /dashboard` } >
14
+ < Dropdown . Item href = { `${ getConfig ( ) . LMS_BASE_URL } /dashboard` } >
16
15
{ intl . formatMessage ( messages . dashboard ) }
17
16
</ Dropdown . Item >
18
17
) ;
@@ -29,7 +28,7 @@ const AuthenticatedUserDropdown = ({ intl, name }) => {
29
28
</ Dropdown . Toggle >
30
29
< Dropdown . Menu className = "dropdown-menu-right" >
31
30
{ dashboardMenuItem }
32
- < Dropdown . Item href = { `${ getConfig ( ) . MARKETING_SITE_BASE_URL } /profile/ ` } >
31
+ < Dropdown . Item href = { `${ getConfig ( ) . ACCOUNT_PROFILE_URL } /u/ ${ username } ` } >
33
32
{ intl . formatMessage ( messages . profile ) }
34
33
</ Dropdown . Item >
35
34
< Dropdown . Item href = { getConfig ( ) . ACCOUNT_SETTINGS_URL } >
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ const LearningHeader = ({
33
33
const headerLogo = (
34
34
< LinkedLogo
35
35
className = "logo"
36
- href = { `${ getConfig ( ) . MARKETING_SITE_BASE_URL } ` }
36
+ href = { `${ getConfig ( ) . LMS_BASE_URL } /dashboard ` }
37
37
src = { getConfig ( ) . LOGO_URL }
38
38
alt = { getConfig ( ) . SITE_NAME }
39
39
/>
You can’t perform that action at this time.
0 commit comments