Skip to content

Commit

Permalink
chore: make sure links point to MFE not legacy
Browse files Browse the repository at this point in the history
now that the legacy profile and account pages have been removed, we need to make sure that all of the links point to the MFE URLs; we were relying on the legacy applications to do redirection before.

FIXES: APER-3884
FIXES: openedx/public-engineering#71
  • Loading branch information
deborahgu committed Feb 11, 2025
1 parent ab669bb commit 18fff09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ function ProgramCertificatesList({ intl }) {
const { username } = getAuthenticatedUser();
return (
<Hyperlink
destination={`${getConfig().LMS_BASE_URL}/u/${username}`}
destination={`${getConfig().ACCOUNT_PROFILE_URL}/u/${username}`}
className="mb-4 d-inline-block muted-link pl-3 pr-3"
>
<ChevronLeft className="mb-1" />
Expand Down
2 changes: 1 addition & 1 deletion src/components/ProgramRecordsList/ProgramRecordsList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function ProgramRecordsList() {
const { username } = getAuthenticatedUser();
return (
<Hyperlink
destination={`${getConfig().LMS_BASE_URL}/u/${username}`}
destination={`${getConfig().ACCOUNT_PROFILE_URL}/u/${username}`}
className="mb-4 d-inline-block muted-link pl-3 pr-3"
>
<ChevronLeft className="mb-1" />
Expand Down

0 comments on commit 18fff09

Please sign in to comment.