Skip to content

Commit

Permalink
Add back pattern id
Browse files Browse the repository at this point in the history
  • Loading branch information
glendaviesnz committed Sep 3, 2023
1 parent 8ca644b commit 9be8084
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/block-editor/src/store/selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -2298,6 +2298,7 @@ function getUserPatterns( state ) {
return userPatterns.map( ( userPattern ) => {
return {
name: `core/block/${ userPattern.id }`,
id: userPattern.id,
title: userPattern.title.raw,
categories: userPattern.wp_pattern_category.map( ( catId ) =>
categories && categories.get( catId )
Expand Down

0 comments on commit 9be8084

Please sign in to comment.