From bc4a1667cc17e4d2377661f7f764e5a284885b7a Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Thu, 23 Jun 2022 00:47:29 +0000 Subject: [PATCH] --- ayanova/src/views/adm-integration.vue | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/ayanova/src/views/adm-integration.vue b/ayanova/src/views/adm-integration.vue index 1e9790bd..45085353 100644 --- a/ayanova/src/views/adm-integration.vue +++ b/ayanova/src/views/adm-integration.vue @@ -28,14 +28,6 @@ @change="fieldValueChanged('active')" > - - - @@ -167,7 +159,7 @@ export default { try { window.$gz.form.deleteAllErrorBoxErrors(vm); const res = await window.$gz.api.get( - API_BASE_URL + "/by-dbid/" + recordId + API_BASE_URL + "by-dbid/" + recordId ); if (res.error) { if (res.error.code == "2010") { @@ -253,7 +245,7 @@ export default { JUST_DELETED = true; this.$router.go(-1); } else { - const url = API_BASE_URL + "/by-dbid/" + this.$route.params.recordid; + const url = API_BASE_URL + "by-dbid/" + this.$route.params.recordid; window.$gz.form.deleteAllErrorBoxErrors(this); const res = await window.$gz.api.remove(url); if (res.error) { @@ -309,13 +301,14 @@ function generateMenu(vm) { const menuOptions = { isMain: false, readOnly: vm.formState.readOnly, + hideCoreBizStandardOptions: true, + hideSearch: true, icon: "$ayiCampground", title: "Integration", helpUrl: "integrations", formData: { ayaType: window.$gz.type.Integration, recordId: vm.$route.params.recordid, - formCustomTemplateKey: FORM_CUSTOM_TEMPLATE_KEY, recordName: vm.obj.name }, menuItems: [] @@ -350,9 +343,9 @@ let JUST_DELETED = false; ///////////////////////////////// // // -async function initForm(vm) { +async function initForm() { await fetchTranslatedText(); - await window.$gz.formCustomTemplate.get(FORM_CUSTOM_TEMPLATE_KEY, vm); + // await window.$gz.formCustomTemplate.get(FORM_CUSTOM_TEMPLATE_KEY, vm); } //////////////////////////////////////////////////////////