From a2bbc29eb90ebc58f3105f0048dae6586cd4d2ac Mon Sep 17 00:00:00 2001 From: Daniel Richards Date: Tue, 27 Jun 2023 12:09:32 +0800 Subject: [PATCH] Include reusable blocks with an undefined sync status in inserter items --- packages/block-editor/src/store/selectors.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/block-editor/src/store/selectors.js b/packages/block-editor/src/store/selectors.js index 660794abba566..fc314636d1195 100644 --- a/packages/block-editor/src/store/selectors.js +++ b/packages/block-editor/src/store/selectors.js @@ -2037,7 +2037,8 @@ export const getInserterItems = createSelector( // Filter to either fully synced patterns (sync_status === 'fully'), // or old school reusable blocks (sync_status === ''). reusableBlock.meta?.sync_status === 'fully' || - reusableBlock.meta?.sync_status === '' + reusableBlock.meta?.sync_status === '' || + ! reusableBlock.meta?.sync_status ) .map( buildReusableBlockInserterItem ) : [];