BigW Consortium Gitlab

Commit 4eb8722d by Kamil Trzcinski

Fix broken case for projects:merge_requests:index

parent 129b4eb1
......@@ -155,14 +155,14 @@ import initChangesDropdown from './init_changes_dropdown';
new UsersSelect();
break;
case 'projects:merge_requests:index':
new UserCallout({ setCalloutPerProject: true });
break;
case 'projects:merge_requests:index':
case 'projects:issues:index':
if (filteredSearchEnabled) {
const filteredSearchManager = new gl.FilteredSearchManager(page === 'projects:issues:index' ? 'issues' : 'merge_requests');
filteredSearchManager.setup();
}
if (page === 'projects:merge_requests:index') {
new UserCallout({ setCalloutPerProject: true });
}
const pagePrefix = page === 'projects:merge_requests:index' ? 'merge_request_' : 'issue_';
IssuableIndex.init(pagePrefix);
......
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