diff options
author | Jacopo <beschi.jacopo@gmail.com> | 2017-09-07 23:25:50 +0300 |
---|---|---|
committer | Jacopo <beschi.jacopo@gmail.com> | 2017-09-24 13:42:29 +0300 |
commit | e05031304913f333d7c1443956091fb306e7a6b3 (patch) | |
tree | 1d0335e3629b2e1314c0bce5d13581bfd95ed7c1 /app/assets/javascripts/vue_merge_request_widget | |
parent | e2b195b2748c88e276163d44cdeff5b210f2522c (diff) |
Hide close MR button after merge without reloading page
After merging a MR the close button is hidden, without reloading the page.
Diffstat (limited to 'app/assets/javascripts/vue_merge_request_widget')
-rw-r--r-- | app/assets/javascripts/vue_merge_request_widget/components/states/mr_widget_ready_to_merge.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/assets/javascripts/vue_merge_request_widget/components/states/mr_widget_ready_to_merge.js b/app/assets/javascripts/vue_merge_request_widget/components/states/mr_widget_ready_to_merge.js index ad709da51ee..ea0e3a45d34 100644 --- a/app/assets/javascripts/vue_merge_request_widget/components/states/mr_widget_ready_to_merge.js +++ b/app/assets/javascripts/vue_merge_request_widget/components/states/mr_widget_ready_to_merge.js @@ -156,6 +156,7 @@ export default { eventHub.$emit('FetchActionsContent'); if (window.mergeRequest) { window.mergeRequest.updateStatusText('status-box-open', 'status-box-merged', 'Merged'); + window.mergeRequest.hideCloseButton(); window.mergeRequest.decreaseCounter(); } stopPolling(); |