diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-22 03:08:47 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-22 03:08:47 +0300 |
commit | 66ce6a78f6203652c34bd0532b63c394d5394cc4 (patch) | |
tree | 67408e003b1c4136bb8e35c1e9ac049563c1f1d5 /app/views/shared/_service_settings.html.haml | |
parent | 1c23b3f1315ba1da3c3765acd34feb5c05bc7704 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/views/shared/_service_settings.html.haml')
-rw-r--r-- | app/views/shared/_service_settings.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/_service_settings.html.haml b/app/views/shared/_service_settings.html.haml index 1bf52feab11..4415c654ab9 100644 --- a/app/views/shared/_service_settings.html.haml +++ b/app/views/shared/_service_settings.html.haml @@ -12,7 +12,7 @@ .form-group.row = form.label :active, "Active", class: "col-form-label col-sm-2" .col-sm-10 - = form.check_box :active, disabled: disable_fields_service?(@service), data: { qa_selector: 'active_checkbox' } + = form.check_box :active, checked: @service.active || @service.new_record?, disabled: disable_fields_service?(@service) - if @service.configurable_events.present? .form-group.row |