diff --git a/frontend/src/components/Footer/Footer.tsx b/frontend/src/components/Footer/Footer.tsx index 54547dbdd..c8dfe7c49 100644 --- a/frontend/src/components/Footer/Footer.tsx +++ b/frontend/src/components/Footer/Footer.tsx @@ -29,6 +29,7 @@ export const CrossfeedFooter: React.FC = (props) => { Documentation @@ -39,6 +40,7 @@ export const CrossfeedFooter: React.FC = (props) => { CISA Homepage diff --git a/frontend/src/components/Header.tsx b/frontend/src/components/Header.tsx index af4ec517a..e6b751dd2 100644 --- a/frontend/src/components/Header.tsx +++ b/frontend/src/components/Header.tsx @@ -287,12 +287,12 @@ const HeaderNoCtx: React.FC = (props) => { users: GLOBAL_ADMIN, exact: true }, - { - title: 'My Organizations', - path: '/organizations', - users: STANDARD_USER, - exact: true - }, + // { + // title: 'My Organizations', + // path: '/organizations', + // users: STANDARD_USER, + // exact: true + // }, { title: 'Manage Users', path: '/users', @@ -328,12 +328,12 @@ const HeaderNoCtx: React.FC = (props) => { users: GLOBAL_ADMIN, exact: true }, - { - title: 'My Organizations', - path: '/organizations', - users: STANDARD_USER, - exact: true - }, + // { + // title: 'My Organizations', + // path: '/organizations', + // users: STANDARD_USER, + // exact: true + // }, { title: 'Manage Users', path: '/users', diff --git a/frontend/src/components/OrganizationList/OrganizationList.tsx b/frontend/src/components/OrganizationList/OrganizationList.tsx index b5c08b603..f958bfcfb 100644 --- a/frontend/src/components/OrganizationList/OrganizationList.tsx +++ b/frontend/src/components/OrganizationList/OrganizationList.tsx @@ -1,7 +1,7 @@ import React, { useState, useCallback } from 'react'; import EditNoteOutlinedIcon from '@mui/icons-material/EditNoteOutlined'; import { Organization } from 'types'; -import { Box, Button, IconButton, Grid } from '@mui/material'; +import { Alert, Box, Button, IconButton, Grid } from '@mui/material'; import { DataGrid, GridColDef, GridRenderCellParams } from '@mui/x-data-grid'; import { useHistory } from 'react-router-dom'; import { Add } from '@mui/icons-material'; @@ -80,8 +80,6 @@ export const OrganizationList: React.FC<{ } }, [fetchOrganizations, parent]); - console.log(JSON.stringify(organizations)); - const addOrgButton = user?.userType === 'globalAdmin' && (