From 6ba43cde409b9b9d52ae25c0b6e3f15e67f40219 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Fri, 12 Jul 2019 19:31:10 +0000 Subject: [PATCH] --- ayanova/src/components/custom-fields-control.vue | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/ayanova/src/components/custom-fields-control.vue b/ayanova/src/components/custom-fields-control.vue index bb24ac83..ebafcd74 100644 --- a/ayanova/src/components/custom-fields-control.vue +++ b/ayanova/src/components/custom-fields-control.vue @@ -47,6 +47,17 @@ export default { if (!this.$gzlocale) { throw "custom-fields-control: $gzlocale is required and missing"; } + // if (!this.formKey) { + // throw "custom-fields-control: formKey property is required and missing"; + // } + + // if (!this.$store.state.formCustomTemplate[this.formKey]) { + // throw "custom-fields-control: formCustomTemplate not in the Store!"; + // } + } + }, + created() { + if (this.$gzdevmode()) { if (!this.formKey) { throw "custom-fields-control: formKey property is required and missing"; }