Skip to content

Commit

Permalink
Fix Netflix#9315 right menu header disappears after Settings modal opens
Browse files Browse the repository at this point in the history
  • Loading branch information
paigekim29 committed Apr 27, 2022
1 parent 462e88d commit f59a061
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion ui/src/components/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,21 @@ const ConsoleMeHeader = () => {
{
key: user.user,
text: user.user,
value: user.user,
value: (
<>
<img
src={user?.employee_photo_url}
alt="profile"
height="28px"
style={{
borderRadius: "50%",
verticalAlign: "middle",
marginRight: "11px"
}}
/>
{user.user}
</>
),
image: { avatar: true, src: user?.employee_photo_url },
},
{
Expand All @@ -126,6 +140,7 @@ const ConsoleMeHeader = () => {
inline
options={dropdownOptions}
defaultValue={dropdownOptions[0].value}
text={dropdownOptions[0].value}
icon={null}
/>
);
Expand Down

0 comments on commit f59a061

Please sign in to comment.