Commit effb96b9 authored by Matija Čupić's avatar Matija Čupić

Refactor AutoDevopsHelper.missing_auto_devops_domain?

parent 40753029
......@@ -27,7 +27,7 @@ module AutoDevopsHelper
private
def missing_auto_devops_domain?(project)
!(project.auto_devops&.has_domain? || current_application_settings.auto_devops_domain.present?)
!(project.auto_devops || project.build_auto_devops)&.has_domain?
end
def missing_auto_devops_service?(project)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment