\n {(() => {\n if (dimentions?.width > 1024) {\n return (\n
\n
\n\n {headingHandler()}\n\n showDetail()}\n iconsize={20}\n />\n
\n
\n )\n } else {\n return (\n
\n )\n }\n })()}\n {(() => {\n if (isChatroomLoading) {\n return
\n } else {\n return (\n
\n\n
\n {headingHandler()}\n
\n\n
\n
\n filterTeamMembersHandler(e.target.value)}\n // changeevent={filterTeamMembersHandler}\n value={filterText}\n />\n
\n
\n
\n {/*
Team Members
*/}\n
\n
\n {usedTeamMembers?.map((item, index) => (\n \n {filterTableRowHandler(filterText, item) ?\n \n : null\n }\n \n ))}\n
\n
\n
\n
\n )\n }\n })()}\n
\n );\n}\n\nGroupInfo.propTypes = {\n // deleteGroupChatRoom: PropTypes.func.isRequired\n}\n\nexport default HOCdeleteChatroom(GroupInfo);\n","import React, { useEffect, useState } from 'react'\nimport PropTypes from 'prop-types';\nimport TeamsList from '@components/Information/Teams'\nimport ClubInfo from '@components/Information/ClubInfo'\nimport FacilityInfo from '@components/Information/FacilityInfo';\nimport CustomerInfo from '@components/Information/CustomerInfo';\nimport GroupInfo from '@components/Information/GroupInfo';\n// import { layoutActions } from \"@store/layout-slice\";\nimport Utils from \"@utils\";\nimport { useDispatch } from \"react-redux\";\n// import ConfirmBox from \"@components/Common/Dialogue/ConfirmBox\";\n// import { chatroomActions } from '@store/chatroom-slice';\n// import ChatroomService from \"@services/common/chatroom/ChatroomService\";\nimport { includes } from 'lodash';\n// import { errorHandler } from '@utils/errorHandler';\n// import viewHelper from '@utils/viewHelper';\n// import { toast } from 'react-toastify';\nimport HOCdeleteChatroom from '../../ExtraComponent/HOCdeleteChatroom';\nimport { chatroomReactType } from '@utils';\n\nconst RightSection = ({ deleteGroupChatRoom }) => {\n\tconst dispatch = useDispatch()\n\tconst currentChatroom = Utils.getCurrentChatroom();\n\tconst user = Utils.getCurrentUser();\n\t// let [isOpen, setIsOpen] = useState(false)\n\t// let [isTrue, setIsTrue] = useState(false)\n\n\t// const deleteGroupChatRoom = () => {\n\t// \tsetIsOpen(true)\n\t// }\n\n\t// useEffect(() => {\n\t// \tif (isTrue) {\n\t// \t\tChatroomService.deleteAllTypeChatroom(currentChatroom.uuid)\n\t// \t\t\t.then((response) => {\n\t// \t\t\t\tif (response?.status === 200) {\n\t// \t\t\t\t\tdispatch(layoutActions.setRightBar(false))\n\t// \t\t\t\t\tdispatch(layoutActions.setChatSection(false))\n\t// \t\t\t\t\tdispatch(chatroomActions.setUpdateChatRoom())\n\t// \t\t\t\t\tdispatch(chatroomActions.setCurrentChatroom({}))\n\t// \t\t\t\t\ttoast(\n\t// \t\t\t\t\t\tviewHelper.returnToastMarkup({\n\t// \t\t\t\t\t\t\ttitle: 'Success',\n\t// \t\t\t\t\t\t\tmessage: response.data.message,\n\t// \t\t\t\t\t\t\ttype: toast.TYPE.SUCCESS\n\t// \t\t\t\t\t\t}),\n\t// \t\t\t\t\t\t{\n\t// \t\t\t\t\t\t\tautoClose: 3000,\n\t// \t\t\t\t\t\t\tpauseOnHover: false,\n\t// \t\t\t\t\t\t}\n\t// \t\t\t\t\t);\n\t// \t\t\t\t} else {\n\t// \t\t\t\t\ttoast.error(errorHandler(response));\n\t// \t\t\t\t}\n\t// \t\t\t})\n\t// \t\t\t.catch(function (error) {\n\t// \t\t\t\ttoast.error(errorHandler(error));\n\t// \t\t\t});\n\t// \t}\n\t// }, [isTrue])\n\n\t// ClubUser\n\n\t{/* customer : >>\n\t\t\tClub > \"ClubCompany\"\n\t\t\tfacility > \"Company\"\n\t\t\tgroup > \"Group\"\n\t\t\tteam > \"Team\"\n\n\t\t\tclub : >>\n\t\t\tcontacts > \"ClubContact\"\n\t\t\tcustomers > \"ClubUser\" \n\t\t\tfacility > \"Company\"\n\t\t\t\n\t\t\tfacility : >>\n\t\t\tcontacts > \"Customer\"\n\t\t\tcustomers > \"User\" \n\t\t\tclub > \"ClubCompany\" \n*/}\n\n\treturn (\n\t\t