Correctly checks for undefined in coffeescript 🙈
This commit is contained in:
parent
439a72803b
commit
ab93ea04aa
|
@ -201,7 +201,7 @@ class @LabelsSelect
|
|||
callback data
|
||||
|
||||
renderRow: (label) ->
|
||||
removesAll = label.id is 0 or label.id is undefined
|
||||
removesAll = label.id is 0 or not label.id?
|
||||
|
||||
selectedClass = []
|
||||
if $form.find("input[type='hidden']\
|
||||
|
|
Loading…
Reference in New Issue