Commit 72830aa8 authored by Phil Hughes's avatar Phil Hughes

Removed comparing against text

parent 8357a23a
......@@ -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
""
......
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