Commit 33b048e7 authored by Mike Greiling's avatar Mike Greiling

Merge branch 'sh-cleanup-mwps-refresh' into 'master'

Clean up refresh fix for cancel automatic merge

See merge request gitlab-org/gitlab!29844
parents a4d48592 bf49a7a3
...@@ -52,7 +52,6 @@ export default { ...@@ -52,7 +52,6 @@ export default {
.then(res => res.data) .then(res => res.data)
.then(data => { .then(data => {
eventHub.$emit('UpdateWidgetData', data); eventHub.$emit('UpdateWidgetData', data);
eventHub.$emit('MRWidgetUpdateRequested');
}) })
.catch(() => { .catch(() => {
this.isCancellingAutoMerge = false; this.isCancellingAutoMerge = false;
......
...@@ -123,7 +123,6 @@ export default class MergeRequestStore { ...@@ -123,7 +123,6 @@ export default class MergeRequestStore {
const currentUser = data.current_user; const currentUser = data.current_user;
if (currentUser) {
this.cherryPickInForkPath = currentUser.cherry_pick_in_fork_path; this.cherryPickInForkPath = currentUser.cherry_pick_in_fork_path;
this.revertInForkPath = currentUser.revert_in_fork_path; this.revertInForkPath = currentUser.revert_in_fork_path;
...@@ -131,7 +130,6 @@ export default class MergeRequestStore { ...@@ -131,7 +130,6 @@ export default class MergeRequestStore {
this.canCreateIssue = currentUser.can_create_issue || false; this.canCreateIssue = currentUser.can_create_issue || false;
this.canCherryPickInCurrentMR = currentUser.can_cherry_pick_on_current_merge_request || false; this.canCherryPickInCurrentMR = currentUser.can_cherry_pick_on_current_merge_request || false;
this.canRevertInCurrentMR = currentUser.can_revert_on_current_merge_request || false; this.canRevertInCurrentMR = currentUser.can_revert_on_current_merge_request || false;
}
this.setState(data); this.setState(data);
} }
......
---
title: Clean up refresh fix for cancel automatic merge
merge_request: 29844
author:
type: other
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment