mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-10 02:03:07 +08:00
fix(objects): fix UpdateNylasObjectsTask
This commit is contained in:
parent
9eb36f5813
commit
a2ecd2d0b0
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue