mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-27 10:28:31 +08:00
fix(objects): fix UpdateNylasObjectsTask
This commit is contained in:
parent
5b7ca072cd
commit
d06e45b6b1
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