Skip to content

Commit

Permalink
AB#1064 Admins can see all events.
Browse files Browse the repository at this point in the history
  • Loading branch information
Francisco del Castillo committed Oct 8, 2024
1 parent 6532644 commit 04f4cac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/Nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ const Navigation = ({ allOrganizations, resetPages, clearSearchQuery }) => {
My Authorization Groups
</SidebarLink>
)}
{!_isEmpty(currentUser?.position?.organizationsAdministrated) && (
{(currentUser.isAdmin() || !_isEmpty(currentUser?.position?.organizationsAdministrated)) && (
<SidebarLink
id="my-events"
linkTo={{ pathname: "/events/mine" }}
Expand Down

0 comments on commit 04f4cac

Please sign in to comment.