Load @wordpress/date settings and locale data for date picker

[MAILPOET-5000]
This commit is contained in:
Jan Jakes
2023-04-20 07:43:59 +02:00
committed by Aschepikov
parent 5800897cc0
commit e81a8fca6a
2 changed files with 10 additions and 2 deletions

View File

@@ -143,7 +143,7 @@ EOL;
$this->wp->wpEnqueueScript(
'automation_editor',
Env::$assetsUrl . '/dist/js/' . $this->renderer->getJsAsset('automation_editor.js'),
[],
['wp-date'],
Env::$version,
true
);