Skip to content

Commit 7313c80

Browse files
committed
refactor: revert unnecessary changes
1 parent 12e90fa commit 7313c80

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.env.development

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ MARKETING_SITE_BASE_URL=http://localhost:18000
1414
ORDER_HISTORY_URL=localhost:1996/orders
1515
REFRESH_ACCESS_TOKEN_ENDPOINT=http://localhost:18000/login_refresh
1616
SEGMENT_KEY=null
17+
SHOW_FULLNAME=false
1718
SITE_NAME=Open edX
1819
USER_INFO_COOKIE_NAME=edx-user-info
1920
LOGO_URL=https://edx-cdn.org/v3/default/logo.svg

src/learning-header/AuthenticatedUserDropdown.jsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import PropTypes from 'prop-types';
33

44
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
55
import { faUserCircle } from '@fortawesome/free-solid-svg-icons';
6-
76
import { getConfig } from '@edx/frontend-platform';
87
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
98
import { Dropdown } from '@openedx/paragon';
@@ -12,7 +11,7 @@ import messages from './messages';
1211

1312
const 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}>

src/learning-header/LearningHeader.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
/>

0 commit comments

Comments
 (0)