From c2182c6ddf23cde2288526a1716050777c632b02 Mon Sep 17 00:00:00 2001 From: Addison-Stavlo Date: Fri, 30 Oct 2020 13:28:21 -0400 Subject: [PATCH] ensure 'Custom' title for search results as well --- .../template-part/edit/selection/template-part-previews.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/block-library/src/template-part/edit/selection/template-part-previews.js b/packages/block-library/src/template-part/edit/selection/template-part-previews.js index 7b039c76683ea8..07c8a6c6bd6aba 100644 --- a/packages/block-library/src/template-part/edit/selection/template-part-previews.js +++ b/packages/block-library/src/template-part/edit/selection/template-part-previews.js @@ -179,7 +179,10 @@ function TemplatePartSearchResults( { const currentShownTPs = useAsyncList( filteredTPs ); return filteredTPs.map( ( templatePart ) => ( - + { currentShownTPs.includes( templatePart ) ? (