Commit 18d0ee07 authored by Matija Čupić's avatar Matija Čupić

Refactor AutoDevopsHelper.missing_auto_devops_domain?

parent d3bdad45
......@@ -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