Commit 7953be84 authored by Natalia Tepluhina's avatar Natalia Tepluhina

Merge branch 'ph/fixRandomValueOnCommitCount' into 'master'

Remove commit count pre-set value in widget store

See merge request gitlab-org/gitlab!55083
parents bc7dd70e 49dc06ba
......@@ -177,7 +177,7 @@ export default class MergeRequestStore {
this.ciStatus = `${this.ciStatus}-with-warnings`;
}
this.commitsCount = mergeRequest.commitCount || 10;
this.commitsCount = mergeRequest.commitCount;
this.branchMissing = !mergeRequest.sourceBranchExists || !mergeRequest.targetBranchExists;
this.hasConflicts = mergeRequest.conflicts;
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