mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: current value of flair icon missing in group manage UI
This commit is contained in:
parent
266c0c50d7
commit
1bef008a1e
@ -44,11 +44,11 @@ class GroupShowSerializer < BasicGroupSerializer
|
||||
end
|
||||
|
||||
def include_flair_icon?
|
||||
is_group_owner && flair_icon.present?
|
||||
flair_icon.present? && (is_group_owner || scope.is_admin?)
|
||||
end
|
||||
|
||||
def include_flair_type?
|
||||
is_group_owner && flair_type.present?
|
||||
flair_type.present? && (is_group_owner || scope.is_admin?)
|
||||
end
|
||||
|
||||
private
|
||||
|
Loading…
Reference in New Issue
Block a user