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

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

diff --git a/app/serializers/group_show_serializer.rb b/app/serializers/group_show_serializer.rb
index e087b52..be3ec46 100644
--- a/app/serializers/group_show_serializer.rb
+++ b/app/serializers/group_show_serializer.rb
@@ -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

GitHub sha: 1bef008a

1 Like