mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-04 07:10:06 +08:00
fix(sync-status): Ignore keys that arent models when check sync status
This commit is contained in:
parent
0b4127bc4b
commit
2d8f3ec2b0
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue