Make sure the form id is always number

[MAILPOET-3872]
This commit is contained in:
Pavel Dohnal
2021-11-09 13:47:51 +01:00
committed by Veljko V
parent 652fa9ce80
commit bdd2e4d2ae

View File

@@ -12,7 +12,7 @@ export default (state, action) => {
...state,
formData: {
...state.formData,
id: action.formId,
id: parseInt(action.formId, 10),
},
isFormSaving: false,
hasUnsavedChanges: false,