getFields({ commit, dispatch }) {
getFields().then(response => {
let formFieldsMap = response.formFields.map(n => ({ ...n, value: '' }))
console.log('1', formFieldsMap)
commit(SET_FIELDS_TRANSPORT, formFieldsMap);
}).catch(errors => {
console.error(errors);
});
},
[SET_FIELDS_TRANSPORT](state, { formFieldsMap }) {
console.log(formFieldsMap)
state.FIELDS.formFields = formFieldsMap;
},