Add the cancel button to modal when switching to template mode

[MAILPOET-6336]
This commit is contained in:
Rostislav Wolny
2024-12-06 10:42:38 +01:00
committed by Rostislav Wolný
parent 8b3f7a489f
commit 1ce1ddc952

View File

@ -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"