Skip to content

Commit

Permalink
Include reusable blocks with an undefined sync status in inserter items
Browse files Browse the repository at this point in the history
  • Loading branch information
talldan committed Jun 28, 2023
1 parent dfbb15d commit a2bbc29
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/block-editor/src/store/selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
: [];
Expand Down

0 comments on commit a2bbc29

Please sign in to comment.