Show heading by template select mode in the template select modal
[MAILPOET-6425]
This commit is contained in:
committed by
Aschepikov
parent
b7d6437b77
commit
0a02295c1e
@ -123,7 +123,11 @@ export function SelectTemplateModal( {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Modal
|
<Modal
|
||||||
title={ __( 'Start with an email preset', 'mailpoet' ) }
|
title={
|
||||||
|
templateSelectMode === 'new'
|
||||||
|
? __( 'Start with an email preset', 'mailpoet' )
|
||||||
|
: __( 'Select a template', 'mailpoet' )
|
||||||
|
}
|
||||||
onRequestClose={ () => {
|
onRequestClose={ () => {
|
||||||
recordEvent( 'template_select_modal_closed', {
|
recordEvent( 'template_select_modal_closed', {
|
||||||
templateSelectMode,
|
templateSelectMode,
|
||||||
|
Reference in New Issue
Block a user