Rename global variable to match the old code

[MAILPOET-2453]
This commit is contained in:
Pavel Dohnal
2019-12-19 09:21:31 +01:00
committed by Rostislav Wolný
parent 12af14fd90
commit 3230bff824
2 changed files with 2 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ export default () => {
const dateSettingData = {
dateTypes: window.mailpoet_date_types,
dateFormats: window.mailpoet_date_formats,
months: window.mailpoet_date_months,
months: window.mailpoet_month_names,
};
formData.settings.segments = formData.settings.segments ? formData.settings.segments : [];
const defaultState = {