This commit is contained in:
yystopf 2023-11-20 08:32:53 +08:00
parent 924406d59f
commit f48ad14411
1 changed files with 1 additions and 1 deletions

View File

@ -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!