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 authored and gjvoosten committed Oct 8, 2024
1 parent 9bf281b commit ee1028f
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 ee1028f

Please sign in to comment.