Add the cancel button to modal when switching to template mode
[MAILPOET-6336]
This commit is contained in:
committed by
Rostislav Wolný
parent
8b3f7a489f
commit
1ce1ddc952
@ -25,6 +25,16 @@ export function EditTemplateModal( { close } ) {
|
||||
) }
|
||||
</p>
|
||||
<Flex justify={ 'end' }>
|
||||
<FlexItem>
|
||||
<Button
|
||||
variant="tertiary"
|
||||
onClick={ () => {
|
||||
close();
|
||||
} }
|
||||
>
|
||||
{ __( 'Cancel', 'mailpoet' ) }
|
||||
</Button>
|
||||
</FlexItem>
|
||||
<FlexItem>
|
||||
<Button
|
||||
variant="primary"
|
||||
|
Reference in New Issue
Block a user