add: rank not include deleted project

This commit is contained in:
2021-11-01 16:20:52 +08:00
parent 2273b4817e
commit 46405e704a
15 changed files with 163 additions and 133 deletions

View File

@@ -22,7 +22,7 @@ class Organizations::OrganizationsController < Organizations::BaseController
@can_create_project = @organization.can_create_project?(current_user.id)
@is_admin = can_edit_org?
@is_member = @organization.is_member?(current_user.id)
Cache::V2::OwnerCommonService.new(@organization.login, @organization.mail).read
Cache::V2::OwnerCommonService.new(@organization.id).read
end
def create