Commit 56949f5e authored by Jacob Schatz's avatar Jacob Schatz Committed by Rémy Coutable

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
parent 915edcee
...@@ -23,6 +23,7 @@ class @MilestoneSelect ...@@ -23,6 +23,7 @@ class @MilestoneSelect
if showAny if showAny
data.unshift( data.unshift(
isAny: true
title: 'Any Milestone' title: 'Any Milestone'
) )
...@@ -44,7 +45,7 @@ class @MilestoneSelect ...@@ -44,7 +45,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