mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
修复
This commit is contained in:
@@ -59,7 +59,7 @@ json.pm_project_id issue.pm_project_id
|
||||
json.time_scale issue.time_scale
|
||||
json.child_count issue.child_count
|
||||
json.project do
|
||||
if issue.project.present? && issue.owner.present?
|
||||
if issue.project.present? && issue.project&.owner.present?
|
||||
json.partial! "api/v1/projects/detail", locals: {project: issue.project}
|
||||
else
|
||||
json.nil!
|
||||
|
||||
Reference in New Issue
Block a user