Don't show the filter if there aren't any tags
This commit is contained in:
@@ -56,6 +56,7 @@ class User::Filtering
|
||||
end
|
||||
|
||||
def show_tags?
|
||||
return unless Tag.any?
|
||||
expanded? || filter.tags.any?
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user