FIX: current value of flair icon missing in group manage UI

This commit is contained in:
Neil Lalonde 2020-08-04 12:41:14 -04:00
parent 266c0c50d7
commit 1bef008a1e
No known key found for this signature in database
GPG Key ID: FF871CA9037D0A91

View File

@ -44,11 +44,11 @@ class GroupShowSerializer < BasicGroupSerializer
end end
def include_flair_icon? def include_flair_icon?
is_group_owner && flair_icon.present? flair_icon.present? && (is_group_owner || scope.is_admin?)
end end
def include_flair_type? def include_flair_type?
is_group_owner && flair_type.present? flair_type.present? && (is_group_owner || scope.is_admin?)
end end
private private