From aec63b1cf88b0bac9a45617eda0752a49b55e343 Mon Sep 17 00:00:00 2001 From: raj6939 Date: Mon, 28 Nov 2022 16:51:30 +0530 Subject: [PATCH] bug fixed --- .../components/CustomApiEventActionConfig.vue | 1 + .../createProjectSlider/components/KycEventActionConfig.vue | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/admin/createProjectSlider/components/CustomApiEventActionConfig.vue b/src/components/admin/createProjectSlider/components/CustomApiEventActionConfig.vue index 6567abe4..5cada0f1 100644 --- a/src/components/admin/createProjectSlider/components/CustomApiEventActionConfig.vue +++ b/src/components/admin/createProjectSlider/components/CustomApiEventActionConfig.vue @@ -1071,6 +1071,7 @@ export default { this.apiData.conditionValue = null this.isBoolean = true this.showRegexInputField = false + EventBus.$emit("resetOption",this.apiData.condition); this.condtionOption =[ { text: "Condition", value: null }, { text: "===", value: "===" }, diff --git a/src/components/admin/createProjectSlider/components/KycEventActionConfig.vue b/src/components/admin/createProjectSlider/components/KycEventActionConfig.vue index d5e93014..f2f5b1d0 100644 --- a/src/components/admin/createProjectSlider/components/KycEventActionConfig.vue +++ b/src/components/admin/createProjectSlider/components/KycEventActionConfig.vue @@ -302,7 +302,7 @@ export default { } else if (parseInt(this.selected.score) < 0) { isvalid = false; this.notifyErr(Messages.EVENTS.ACTIONS.SCORE_IS_POSITIVE_NUM); - } else if (this.eventActionList.length > 0) { + } else if (this.isCreate === true && this.eventActionList.length > 0 && this.eventActionList.length <= 1) { isvalid = false; this.notifyErr(Messages.EVENTS.ACTIONS.KYCACCORDIN.DUPLICATE_KYC); }