[FIX] Member list filters for All by default (#4757)
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
This commit is contained in:
parent
73557038a2
commit
b6b5e7294f
|
@ -110,8 +110,8 @@ const RoomMembersView = (): React.ReactElement => {
|
|||
|
||||
useEffect(() => {
|
||||
const subscription = params?.room?.observe && params.room.observe().subscribe(changes => updateState({ room: changes }));
|
||||
setHeader(true);
|
||||
fetchMembers(true);
|
||||
setHeader(false);
|
||||
fetchMembers(false);
|
||||
return () => subscription?.unsubscribe();
|
||||
}, []);
|
||||
|
||||
|
|
Loading…
Reference in New Issue