diff --git a/src/client/src/AdminsOverview.js b/src/client/src/AdminsOverview.js index 59ec91b..ff13fbf 100644 --- a/src/client/src/AdminsOverview.js +++ b/src/client/src/AdminsOverview.js @@ -165,17 +165,17 @@ export default function Users(props) { getUsers() }, []); - // if (!props.user.isLoggedIn) { return ; } - // if (!props.user.isManager) { - // return (<> - // - // - //
- // You do not have permission to view this page. If you believe this is incorrect, please contact a manager. - //
- //
- // ); - // } + if (!props.user.isLoggedIn) { return ; } + if (!props.user.isManager) { + return (<> + + +
+ You do not have permission to view this page. If you believe this is incorrect, please contact a manager. +
+
+ ); + } return ( <>