From 1bef008a1e9ad1bad20d7ef3c7d3dd7c5597403b Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Tue, 4 Aug 2020 12:41:14 -0400 Subject: [PATCH] FIX: current value of flair icon missing in group manage UI --- app/serializers/group_show_serializer.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/serializers/group_show_serializer.rb b/app/serializers/group_show_serializer.rb index e087b5248a8..be3ec4646dc 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