diff --git a/packages/core-data/src/reducer.js b/packages/core-data/src/reducer.js index 6ce70d6a1b4659..4b975e9a47efd4 100644 --- a/packages/core-data/src/reducer.js +++ b/packages/core-data/src/reducer.js @@ -197,6 +197,11 @@ function entity( entityConfig ) { edits: ( state = {}, action ) => { switch ( action.type ) { case 'RECEIVE_ITEMS': + const context = action?.query?.context ?? 'default'; + if ( context !== 'default' ) { + return state; + } + const nextState = { ...state }; for ( const record of action.items ) {