mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
fix
This commit is contained in:
@@ -50,7 +50,7 @@ class Repositories::DetailService < ApplicationService
|
||||
|
||||
def branch_slice_suitable
|
||||
branches = Gitea::Repository::Branches::ListSliceService.call(@owner, @repo.identifier)
|
||||
branches.is_a?(Hash) && branches.key?(:status) == :error ? [] : branches
|
||||
branches.is_a?(Hash) && branches.key?(:status) ? [] : branches
|
||||
end
|
||||
|
||||
def tag_suitable
|
||||
|
||||
Reference in New Issue
Block a user