Commit 49dc06ba authored by Phil Hughes's avatar Phil Hughes

Remove commit count pre-set value in widget store

parent 631b0307
...@@ -177,7 +177,7 @@ export default class MergeRequestStore { ...@@ -177,7 +177,7 @@ export default class MergeRequestStore {
this.ciStatus = `${this.ciStatus}-with-warnings`; this.ciStatus = `${this.ciStatus}-with-warnings`;
} }
this.commitsCount = mergeRequest.commitCount || 10; this.commitsCount = mergeRequest.commitCount;
this.branchMissing = !mergeRequest.sourceBranchExists || !mergeRequest.targetBranchExists; this.branchMissing = !mergeRequest.sourceBranchExists || !mergeRequest.targetBranchExists;
this.hasConflicts = mergeRequest.conflicts; this.hasConflicts = mergeRequest.conflicts;
this.hasMergeableDiscussionsState = mergeRequest.mergeableDiscussionsState === false; this.hasMergeableDiscussionsState = mergeRequest.mergeableDiscussionsState === false;
......
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