summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/helpers/auto_devops_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/auto_devops_helper.rb b/app/helpers/auto_devops_helper.rb
index 4a7b7ff763b..16451993e93 100644
--- a/app/helpers/auto_devops_helper.rb
+++ b/app/helpers/auto_devops_helper.rb
@@ -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)