diff options
author | Jacopo <beschi.jacopo@gmail.com> | 2018-01-22 22:33:07 +0100 |
---|---|---|
committer | Jacopo <beschi.jacopo@gmail.com> | 2018-01-29 11:38:44 +0100 |
commit | 0f000716891c97828207febe7cc521f94c3c9351 (patch) | |
tree | 87b5bc2fc3d3afa88a1814b0c8df1a47034d8328 /app/assets/javascripts/vue_merge_request_widget | |
parent | 092a34fe93c64ab637a8ce0524adba6c9cf4cdf7 (diff) | |
download | gitlab-ce-0f000716891c97828207febe7cc521f94c3c9351.tar.gz |
Disable MR check out button when source branch is deleted
After source branch deletion the Merge request `Check out branch` button is disabled.
Diffstat (limited to 'app/assets/javascripts/vue_merge_request_widget')
-rw-r--r-- | app/assets/javascripts/vue_merge_request_widget/components/mr_widget_header.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/assets/javascripts/vue_merge_request_widget/components/mr_widget_header.js b/app/assets/javascripts/vue_merge_request_widget/components/mr_widget_header.js index 85bfd03a3cf..de6e5149a87 100644 --- a/app/assets/javascripts/vue_merge_request_widget/components/mr_widget_header.js +++ b/app/assets/javascripts/vue_merge_request_widget/components/mr_widget_header.js @@ -76,6 +76,7 @@ export default { <a href="#modal_merge_info" data-toggle="modal" + :disabled="mr.sourceBranchRemoved" class="btn btn-sm inline"> Check out branch </a> |