Skip to content

Commit

Permalink
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 6fb53f8 commit 1317b51
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 1317b51

Please sign in to comment.