diff options
author | Fabio Pitino <fpitino@gitlab.com> | 2019-06-06 09:29:05 +0000 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2019-06-06 09:29:05 +0000 |
commit | 8af83bbfec20bb387436bbc46f6cfdac6aa05b71 (patch) | |
tree | 0b0c47859a84809f64d0d3bc8e8dd585662b0333 /app/assets | |
parent | 5c3cab3d0fa5d5b3364523c974322a8a6552d48c (diff) | |
download | gitlab-ce-8af83bbfec20bb387436bbc46f6cfdac6aa05b71.tar.gz |
Always show "Pipelines must succeed" checkbox
Before: the checkbox was hidden if builds were disabled.
The checkbox should not be linked to the builds feature
because they are 2 separate functionality.
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/javascripts/pages/projects/shared/permissions/components/settings_panel.vue | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/app/assets/javascripts/pages/projects/shared/permissions/components/settings_panel.vue b/app/assets/javascripts/pages/projects/shared/permissions/components/settings_panel.vue index 19d9903c988..dea7c586868 100644 --- a/app/assets/javascripts/pages/projects/shared/permissions/components/settings_panel.vue +++ b/app/assets/javascripts/pages/projects/shared/permissions/components/settings_panel.vue @@ -175,11 +175,6 @@ export default { if (value === 0) toggleHiddenClassBySelector('.merge-requests-feature', true); else if (oldValue === 0) toggleHiddenClassBySelector('.merge-requests-feature', false); }, - - buildsAccessLevel(value, oldValue) { - if (value === 0) toggleHiddenClassBySelector('.builds-feature', true); - else if (oldValue === 0) toggleHiddenClassBySelector('.builds-feature', false); - }, }, methods: { |