Add dropdown with edit and swap template buttons

[MAILPOET-6336]
This commit is contained in:
Rostislav Wolny
2024-12-03 14:44:14 +01:00
committed by Rostislav Wolný
parent 1717a0a235
commit 7811535e72
2 changed files with 75 additions and 2 deletions

View File

@@ -204,7 +204,7 @@ export const getCurrentTemplate = createRegistrySelector( ( select ) => () => {
'wp_template',
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
templateId
);
) as unknown as EmailTemplate;
}
return getEditedPostTemplate();
} );