Commit 8abd3f59 authored by mgabdev's avatar mgabdev

Updated search feature to show groups if no user

• Updated:
- search feature to show groups if no user
parent 4f523157
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment