FIX query branches bug
This commit is contained in:
parent
99f67cf3a7
commit
a713e61437
|
@ -34,7 +34,7 @@ class ProjectsController < ApplicationController
|
||||||
end
|
end
|
||||||
|
|
||||||
def branches
|
def branches
|
||||||
@branches = Gitea::Repository::Branches::ListService.new(@project.owner, @project.identifier).call
|
@branches = @project.forge? ? Gitea::Repository::Branches::ListService.new(@project.owner, @project.identifier).call : []
|
||||||
end
|
end
|
||||||
|
|
||||||
def group_type_list
|
def group_type_list
|
||||||
|
|
Loading…
Reference in New Issue