Commit e10c146c authored by Denys Mishunov's avatar Denys Mishunov

Merge branch '211443-ide-only-show-open-mrs' into 'master'

Only show open merge requests in Web IDE

Closes #211443

See merge request gitlab-org/gitlab!35514
parents 102aef7d c69a33fe
......@@ -16,6 +16,7 @@ export const getMergeRequestsForBranch = (
.getProjectMergeRequests(`${projectId}`, {
source_branch: branchId,
source_project_id: state.projects[projectId].id,
state: 'opened',
order_by: 'created_at',
per_page: 1,
})
......
---
title: Only show open Merge Requests in Web IDE
merge_request: 35514
type: fixed
......@@ -55,6 +55,7 @@ describe('IDE store merge request actions', () => {
expect(service.getProjectMergeRequests).toHaveBeenCalledWith(TEST_PROJECT, {
source_branch: 'bar',
source_project_id: TEST_PROJECT_ID,
state: 'opened',
order_by: 'created_at',
per_page: 1,
});
......
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