Web: Client: Fix members infinite loading after inside group selection
This commit is contained in:
parent
d796213a67
commit
095aecc883
@ -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);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user