diff --git a/src/internals/persistence/getPrunedForPersistenceState.js b/src/internals/persistence/getPrunedForPersistenceState.js index 7ce3e653d97f0e1347b350f3caf699d3798ec800..9edd38f7781ce8a3b620c08654d198364bf64736 100644 --- a/src/internals/persistence/getPrunedForPersistenceState.js +++ b/src/internals/persistence/getPrunedForPersistenceState.js @@ -55,6 +55,7 @@ const getPrunedForPersistenceState = ( (requestResources, [resourceName, resourceIds]) => ({ ...requestResources, [resourceName]: [ + ...(allResources[resourceName] || []), ...(requestResources[resourceName] || []), ...resourceIds.map(id => id.toString()), ],