Commit 4a9cf1dc authored by Filipa Lacerda's avatar Filipa Lacerda

Merge branch 'backport-milestone-select-change' into 'master'

Backport a change in milestone_select from EE

See merge request gitlab-org/gitlab-ce!14878
parents 07623179 6e9c06f2
......@@ -146,7 +146,9 @@ import _ from 'underscore';
clicked: function(options) {
const { $el, e } = options;
let selected = options.selectedObj;
var data, isIssueIndex, isMRIndex, isSelecting, page, boardsStore;
if (!selected) return;
page = $('body').attr('data-page');
isIssueIndex = page === 'projects:issues:index';
isMRIndex = (page === page && page === 'projects:merge_requests:index');
......
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