Updated search feature to show groups if no user
• Updated: - search feature to show groups if no user
This commit is contained in:
parent
4f523157c1
commit
8abd3f59ad
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user