fixed 首页项目数量统计

This commit is contained in:
xiaoxiaoqiong 2022-07-07 11:12:13 +08:00
parent aabb7518c0
commit dbae651abc
1 changed files with 0 additions and 2 deletions

View File

@ -16,8 +16,6 @@ class ProjectStatistic < ApplicationRecord
def self.data
data = self.last
if data.present?
return data
else
common_projects_count = Project.common.count
mirror_projects_count = Project.mirror.count
sync_mirror_projects_count = Project.sync_mirror.count