Removed comparing against text

This commit is contained in:
Phil Hughes 2016-03-16 08:53:57 +00:00
parent 8357a23ac8
commit 72830aa809

View file

@ -30,6 +30,7 @@ class @MilestoneSelect
if showAny
data.unshift(
any: true
title: 'Any Milestone'
)
@ -46,7 +47,7 @@ class @MilestoneSelect
milestone.title
id: (milestone) ->
if !useId
if milestone.title isnt "Any Milestone"
if !milestone.any?
milestone.title
else
""