This commit is contained in:
yystopf 2023-03-06 10:42:12 +08:00
parent 2827e28b07
commit 5580a96fe7
1 changed files with 2 additions and 2 deletions

View File

@ -5,8 +5,8 @@ json.total_count @issues.total_count
json.has_created_issues @project.issues.size > 0
json.issues @issues.each do |issue|
if params[:only_name].present?
json.partial! "simple_detail", locals: {issue: issue}
else
json.(issue, :id, :subject)
else
json.partial! "simple_detail", locals: {issue: issue}
end
end