mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-09-11 15:14: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
|
otherIds = @objects.map (obj) -> obj.id
|
||||||
|
|
||||||
sameClass = other instanceof UpdateNylasObjectsTask
|
sameClass = other instanceof UpdateNylasObjectsTask
|
||||||
sameValues = Utils.isEqual(@newValues, other.newValues)
|
sameValues = _.isEqual(@newValues, other.newValues)
|
||||||
sameObjects = Utils.isEqual(myIds, otherIds)
|
sameObjects = _.isEqual(myIds, otherIds)
|
||||||
|
|
||||||
return sameClass and sameValues and sameObjects
|
return sameClass and sameValues and sameObjects
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue