Fix duplicate templates in select modal
[MAILPOET-6334]
This commit is contained in:
committed by
Aschepikov
parent
68e8bd36dc
commit
5fb8247163
@ -65,7 +65,7 @@ function TemplateListBox( {
|
||||
<div className="block-editor-block-patterns-list" role="listbox">
|
||||
{ templates.map( ( template ) => (
|
||||
<div
|
||||
key={ `${ template.slug }_${ template.id }` }
|
||||
key={ `${ template.slug }_${ template.displayName }_${ template.id }` }
|
||||
className="block-editor-block-patterns-list__list-item email-editor-pattern__list-item"
|
||||
>
|
||||
<div
|
||||
|
Reference in New Issue
Block a user