diff --git a/ayanova/src/api/form-custom-template.js b/ayanova/src/api/form-custom-template.js index f95b58e1..638364a6 100644 --- a/ayanova/src/api/form-custom-template.js +++ b/ayanova/src/api/form-custom-template.js @@ -11,6 +11,7 @@ function addDataKeyNames(obj) { obj[i]["dataKey"] = "c" + parseInt(obj[i].fld.replace(/^\D+/g, "")); } } + //return the whole thing again now translated return obj; } @@ -30,6 +31,7 @@ export default { if (res.error) { throw new Error(window.$gz.errorHandler.errorToString(res, vm)); } + window.$gz.store.commit("setFormCustomTemplateItem", { formKey: formKey, concurrency: res.data.concurrency, diff --git a/ayanova/src/components/custom-fields-control.vue b/ayanova/src/components/custom-fields-control.vue index 8787c62a..3a07f79a 100644 --- a/ayanova/src/components/custom-fields-control.vue +++ b/ayanova/src/components/custom-fields-control.vue @@ -10,6 +10,7 @@