From 1317b518c0e530ae6b2ab6b0e4d01945eadca459 Mon Sep 17 00:00:00 2001 From: Francisco del Castillo Date: Tue, 8 Oct 2024 11:36:46 +0200 Subject: [PATCH] Admins can see all events. --- client/src/components/Nav.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/Nav.js b/client/src/components/Nav.js index 7379c61f2d..51e6c856e8 100644 --- a/client/src/components/Nav.js +++ b/client/src/components/Nav.js @@ -304,7 +304,7 @@ const Navigation = ({ allOrganizations, resetPages, clearSearchQuery }) => { My Authorization Groups )} - {!_isEmpty(currentUser?.position?.organizationsAdministrated) && ( + {(currentUser.isAdmin() || !_isEmpty(currentUser?.position?.organizationsAdministrated)) && (