Merge branch 'master' into w2p-70237_entities-orgunit-submission-fix

This commit is contained in:
Art Lowel
2020-04-28 17:45:29 +02:00
188 changed files with 37538 additions and 5366 deletions

View File

@@ -69,6 +69,8 @@ function addToServerSyncQueue(state: ServerSyncBufferState, action: AddToSSBActi
const actionEntry = action.payload as ServerSyncBufferEntry;
if (hasNoValue(state.buffer.find((entry) => entry.href === actionEntry.href && entry.method === actionEntry.method))) {
return Object.assign({}, state, { buffer: state.buffer.concat(actionEntry) });
} else {
return state;
}
return state;
}