Skip to content

Commit

Permalink
Merge pull request #8 from edly-io/revert-7-tanveer/indigo
Browse files Browse the repository at this point in the history
Revert "chore: add user name and remove profile image"
  • Loading branch information
hinakhadim authored Jan 25, 2024
2 parents 776d378 + fc599da commit 351eee3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/learning-header/AuthenticatedUserDropdown.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import PropTypes from 'prop-types';

import { getConfig } from '@edx/frontend-platform';
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
import { Dropdown } from '@edx/paragon';
import { Dropdown, Image } from '@edx/paragon';

import messages from './messages';

Expand All @@ -23,7 +23,11 @@ const AuthenticatedUserDropdown = ({ intl, username }) => {
<span className="line" />
<span className="line" />
</div>
<span data-hj-suppress className="d-none d-md-inline">
<Image
src={`${getConfig().LMS_BASE_URL}/static/indigo/images/profile.svg`}
alt="Image description"
/>
<span data-hj-suppress className="sr-only">
{username}
</span>
</Dropdown.Toggle>
Expand Down

0 comments on commit 351eee3

Please sign in to comment.