diff --git a/src/components/Group/AddGroupList.tsx b/src/components/Group/AddGroupList.tsx index 17eb3a8..e1ef171 100644 --- a/src/components/Group/AddGroupList.tsx +++ b/src/components/Group/AddGroupList.tsx @@ -26,7 +26,9 @@ import _ from "lodash"; import { MyContext, getBaseApiReact } from "../../App"; import { LoadingButton } from "@mui/lab"; import { getBaseApi, getFee } from "../../background"; - +import LockIcon from '@mui/icons-material/Lock'; +import NoEncryptionGmailerrorredIcon from '@mui/icons-material/NoEncryptionGmailerrorred'; +import { Spacer } from "../../common/Spacer"; const cache = new CellMeasurerCache({ fixedWidth: true, defaultHeight: 50, @@ -231,7 +233,17 @@ export const AddGroupList = ({ setInfoSnack, setOpenSnack }) => { handlePopoverOpen(event, index)} > - + {group?.isOpen === false && ( + + )} + {group?.isOpen === true && ( + + )} + { {promotion?.name} - + + { > {promotion?.groupName} - + + + {promotion?.isOpen === false && ( + + )} + {promotion?.isOpen === true && ( + + )} + + {promotion?.isOpen ? 'Public group' : 'Private group' } + + { handlePopoverOpen(event, index)}> - + {invite?.isOpen === false && ( + + )} + {invite?.isOpen === true && ( + + )} +