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>
|
</p>
|
||||||
<Flex justify={ 'end' }>
|
<Flex justify={ 'end' }>
|
||||||
|
<FlexItem>
|
||||||
|
<Button
|
||||||
|
variant="tertiary"
|
||||||
|
onClick={ () => {
|
||||||
|
close();
|
||||||
|
} }
|
||||||
|
>
|
||||||
|
{ __( 'Cancel', 'mailpoet' ) }
|
||||||
|
</Button>
|
||||||
|
</FlexItem>
|
||||||
<FlexItem>
|
<FlexItem>
|
||||||
<Button
|
<Button
|
||||||
variant="primary"
|
variant="primary"
|
||||||
|
Reference in New Issue
Block a user