fix(objects): fix UpdateNylasObjectsTask

This commit is contained in:
Evan Morikawa 2015-07-23 19:58:15 -07:00
parent 9eb36f5813
commit a2ecd2d0b0

View file

@ -79,8 +79,8 @@ class UpdateNylasObjectsTask extends Task
otherIds = @objects.map (obj) -> obj.id
sameClass = other instanceof UpdateNylasObjectsTask
sameValues = Utils.isEqual(@newValues, other.newValues)
sameObjects = Utils.isEqual(myIds, otherIds)
sameValues = _.isEqual(@newValues, other.newValues)
sameObjects = _.isEqual(myIds, otherIds)
return sameClass and sameValues and sameObjects