From a2ecd2d0b087db0f3eb87a3d5ef353952db39be6 Mon Sep 17 00:00:00 2001 From: Evan Morikawa Date: Thu, 23 Jul 2015 19:58:15 -0700 Subject: [PATCH] fix(objects): fix UpdateNylasObjectsTask --- src/flux/tasks/update-nylas-objects-task.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/flux/tasks/update-nylas-objects-task.coffee b/src/flux/tasks/update-nylas-objects-task.coffee index 4dc174b86..91ffe37e3 100644 --- a/src/flux/tasks/update-nylas-objects-task.coffee +++ b/src/flux/tasks/update-nylas-objects-task.coffee @@ -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