From 13d3b27e3ac7f0128464c9c1941dd14f7590f32f Mon Sep 17 00:00:00 2001 From: Apostolof Date: Thu, 19 Nov 2020 21:35:30 +0200 Subject: [PATCH] Fix old users unchanged filter --- packages/concordia-app/src/redux/sagas/peerDbReplicationSaga.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/concordia-app/src/redux/sagas/peerDbReplicationSaga.js b/packages/concordia-app/src/redux/sagas/peerDbReplicationSaga.js index cd54388..5e30042 100644 --- a/packages/concordia-app/src/redux/sagas/peerDbReplicationSaga.js +++ b/packages/concordia-app/src/redux/sagas/peerDbReplicationSaga.js @@ -31,7 +31,7 @@ function* updateReduxState({ database }) { if (database.dbname === USER_DATABASE) { const oldUsersUnchanged = users - .filter((user) => !database.id !== user.id); + .filter((user) => database.id !== user.id); yield put({ type: UPDATE_ORBIT_DATA,