From a2f33966d58ae2097253ef03e4ed8203389ec1a2 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Thu, 6 May 2021 23:57:57 +0000 Subject: [PATCH] --- ayanova/src/api/form-custom-template.js | 2 ++ ayanova/src/components/custom-fields-control.vue | 6 ++++-- ayanova/src/components/work-order-items.vue | 2 +- ayanova/src/views/ay-customize.vue | 2 ++ 4 files changed, 9 insertions(+), 3 deletions(-) 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 @@