Merge branch 'feature/groups' of https://github.com/ONLYOFFICE/DocSpace-client into feature/groups

This commit is contained in:
namushka 2024-02-19 17:41:47 +03:00
commit b442bf555e

View File

@ -52,8 +52,14 @@ const Members = ({
const membersHelper = new MembersHelper({ t });
const updateInfoPanelMembers = async () => {
console.log(infoPanelSelection)
if (!infoPanelSelection || !infoPanelSelection.id) return;
if (
!infoPanelSelection ||
!infoPanelSelection.isRoom ||
!infoPanelSelection.id
) {
return;
}
const fetchedMembers = await fetchMembers(t, true, withoutTitlesAndLinks);
setInfoPanelMembers(fetchedMembers);
};