Removed comparing against text
This commit is contained in:
parent
8357a23ac8
commit
72830aa809
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
""
|
||||
|
|
Loading…
Reference in a new issue