Commit d2de2be4 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'ph/300110/removeNoMilestoneOptionWhenSearching' into 'master'

Hide no milestone option when filtering milestone dropdown

See merge request gitlab-org/gitlab!54814
parents 36bfc6c5 904f2c22
......@@ -119,7 +119,7 @@ export default class MilestoneSelect {
title: __('Any milestone'),
});
}
if (showNo) {
if (showNo && term.trim() === '') {
extraOptions.push({
id: -1,
name: __('No milestone'),
......
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