Commit ad04a911 authored by Jacob Schatz's avatar Jacob Schatz

Merge branch 'fix-any-milestone-value' into 'master'

Fixes issue with any milestone value in dropdown not being selectable

Closes #14293

See merge request !3234
parents fde975fa fa6fae18
...@@ -30,6 +30,7 @@ class @MilestoneSelect ...@@ -30,6 +30,7 @@ class @MilestoneSelect
if showAny if showAny
data.unshift( data.unshift(
isAny: true
title: 'Any Milestone' title: 'Any Milestone'
) )
...@@ -46,7 +47,7 @@ class @MilestoneSelect ...@@ -46,7 +47,7 @@ class @MilestoneSelect
milestone.title milestone.title
id: (milestone) -> id: (milestone) ->
if !useId if !useId
if milestone.title isnt "Any milestone" if !milestone.isAny?
milestone.title milestone.title
else else
"" ""
......
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