Switch template registration to use register_block_template
[MAILPOET-6356]
This commit is contained in:
committed by
Rostislav Wolný
parent
62b77b724c
commit
2fc0ad3c9e
@@ -251,7 +251,7 @@ export const getEmailTemplates = createRegistrySelector(
|
||||
?.filter(
|
||||
( template ) =>
|
||||
// @ts-expect-error Missing property in type
|
||||
template.theme === 'mailpoet/mailpoet'
|
||||
template.plugin === 'mailpoet'
|
||||
)
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user