summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/vue_merge_request_widget
diff options
context:
space:
mode:
authorFatih Acet <acetfatih@gmail.com>2017-12-01 16:18:59 +0100
committerFatih Acet <acetfatih@gmail.com>2017-12-04 21:12:35 +0100
commitde3eabc5bf530dd95dafa77efc006c163aa6b1f0 (patch)
tree3540e85cb5990501952cb7807d3d2bcbc06b8608 /app/assets/javascripts/vue_merge_request_widget
parentf3a3bd50eafdcfcaeea21d6cfa0b8bbae7720fec (diff)
downloadgitlab-ce-de3eabc5bf530dd95dafa77efc006c163aa6b1f0.tar.gz
Fix loading branches list on cherry pick modal after merge.acet-fix-branches-list-on-cherry-pick-modal-after-merge
Diffstat (limited to 'app/assets/javascripts/vue_merge_request_widget')
-rw-r--r--app/assets/javascripts/vue_merge_request_widget/mr_widget_options.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/assets/javascripts/vue_merge_request_widget/mr_widget_options.js b/app/assets/javascripts/vue_merge_request_widget/mr_widget_options.js
index 1274db2c4c8..9cb3edead86 100644
--- a/app/assets/javascripts/vue_merge_request_widget/mr_widget_options.js
+++ b/app/assets/javascripts/vue_merge_request_widget/mr_widget_options.js
@@ -1,3 +1,4 @@
+import Project from '~/project';
import SmartInterval from '~/smart_interval';
import Flash from '../flash';
import {
@@ -140,6 +141,7 @@ export default {
const el = document.createElement('div');
el.innerHTML = res.body;
document.body.appendChild(el);
+ Project.initRefSwitcher();
}
})
.catch(() => {