Updated search feature to show groups if no user

• Updated:
- search feature to show groups if no user
This commit is contained in:
mgabdev 2020-07-24 18:58:44 -05:00
parent 4f523157c1
commit 8abd3f59ad

View File

@ -113,7 +113,7 @@ class Search extends ImmutablePureComponent {
)
}
if (results.get('groups') && results.get('groups').size > 0 && me && (isTop || showGroups)) {
if (results.get('groups') && results.get('groups').size > 0 && (isTop || showGroups)) {
const size = isTop ? Math.min(results.get('groups').size, theLimit) : results.get('groups').size;
const isMax = size === results.get('groups').size