From 2d8f3ec2b08ff41890973044610962c133aba698 Mon Sep 17 00:00:00 2001 From: Juan Tejada Date: Tue, 5 Apr 2016 11:13:40 -0700 Subject: [PATCH] fix(sync-status): Ignore keys that arent models when check sync status --- src/flux/stores/nylas-sync-status-store.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/src/flux/stores/nylas-sync-status-store.coffee b/src/flux/stores/nylas-sync-status-store.coffee index 61cd468ed..7cf3a3a37 100644 --- a/src/flux/stores/nylas-sync-status-store.coffee +++ b/src/flux/stores/nylas-sync-status-store.coffee @@ -30,6 +30,7 @@ class NylasSyncStatusStore extends NylasStore if model return @_statesByAccount[acctId][model]?.complete ? false for _model, modelState of @_statesByAccount[acctId] + continue if _model in ['longConnectionStatus', 'nextRetryTimestamp'] return false if not modelState.complete return true