Skip to content

Commit

Permalink
fix:(navigation): Display non-admin usernames correctly 3.4 backport (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ndv99 committed Jul 20, 2023
1 parent 98bfff9 commit 57e64bd
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,17 +124,17 @@ export const AppSideNavItems = ({
) : null}
{isAuthenticated ? (
<>
<ul className="p-side-navigation__list">
{isAdmin && showLinks ? (
{isAdmin && showLinks ? (
<ul className="p-side-navigation__list">
<>
<AppSideNavItem
icon="settings"
navLink={{ label: "Settings", url: urls.settings.index }}
path={path}
/>
</>
) : null}
</ul>
</ul>
) : null}
<ul className="p-side-navigation__list">
<AppSideNavItem
icon="profile"
Expand Down

0 comments on commit 57e64bd

Please sign in to comment.