Client: Home: Fix hiding filter block when groups are filtered
This commit is contained in:
parent
aa7980ab37
commit
9ac5f66ead
@ -564,8 +564,15 @@ export default inject(
|
||||
const { usersStore, groupsStore, viewAs: accountsViewAs } = peopleStore;
|
||||
|
||||
const { getUsersList: fetchPeople } = usersStore;
|
||||
const { getGroups: fetchGroups, fetchGroup, groups } = groupsStore;
|
||||
const isEmptyGroups = (groups && groups.length === 0) || !Boolean(groups);
|
||||
const {
|
||||
getGroups: fetchGroups,
|
||||
fetchGroup,
|
||||
groups,
|
||||
groupsIsFiltered,
|
||||
} = groupsStore;
|
||||
const isEmptyGroups =
|
||||
!groupsIsFiltered &&
|
||||
((groups && groups.length === 0) || !Boolean(groups));
|
||||
|
||||
if (!firstLoad) {
|
||||
if (isLoading) {
|
||||
|
Loading…
Reference in New Issue
Block a user