diff options
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/auto_devops_helper.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/helpers/auto_devops_helper.rb b/app/helpers/auto_devops_helper.rb index e4907f631ef..4ff38f86b5f 100644 --- a/app/helpers/auto_devops_helper.rb +++ b/app/helpers/auto_devops_helper.rb @@ -2,7 +2,6 @@ module AutoDevopsHelper def show_auto_devops_callout?(project) show_callout?('auto_devops_settings_dismissed') && can?(current_user, :admin_pipeline, project) && - !current_application_settings.auto_devops_enabled? && - project.auto_devops&.enabled.nil? + project.has_auto_devops_implicitly_disabled? end end |