Commit ccb6b191 authored by Fatih Acet's avatar Fatih Acet

MRWidget: Fix approvals and rebase situation.

parent 9da145c5
......@@ -20,7 +20,7 @@ export default class MergeRequestStore extends CEMergeRequestStore {
this.shouldBeRebased = !!data.should_be_rebased;
this.canPushToSourceBranch = data.can_push_to_source_branch;
this.rebaseInProgress = data.rebase_in_progress;
this.approvalsLeft = !!data.approvals_left;
this.approvalsLeft = !data.approved;
this.rebasePath = data.rebase_path;
this.ffOnlyEnabled = data.ff_only_enabled;
}
......
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