李昊 пре 4 година
родитељ
комит
19bb3abf73

+ 2 - 0
gx_api/GxPress/Repository/GxPress.Repository.Implement/GroupRepository.cs

@@ -105,6 +105,8 @@ namespace GxPress.Repository.Implement
                 group.LabelName = request.LabelName;
             if (request.IsShow > 0)
                 group.IsShow = request.IsShow == 1;
+            if (request.IsAdmin > 0)
+                group.IsAdmin = request.IsAdmin == 1;
             if (request.IsWords > 0)
                 group.IsWords = request.IsWords == 1;
             return await _repository.UpdateAsync(group);