From 579ac0d9ff003fab992ff92b6c5772d6a8c18a91 Mon Sep 17 00:00:00 2001 From: raj6939 Date: Tue, 29 Nov 2022 15:08:46 +0530 Subject: [PATCH] validation added for prize type --- .../createProjectSlider/components/PrizeEventActionConfig.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/admin/createProjectSlider/components/PrizeEventActionConfig.vue b/src/components/admin/createProjectSlider/components/PrizeEventActionConfig.vue index e1931727..88826d9c 100644 --- a/src/components/admin/createProjectSlider/components/PrizeEventActionConfig.vue +++ b/src/components/admin/createProjectSlider/components/PrizeEventActionConfig.vue @@ -286,7 +286,7 @@ export default { return this.notifyErr(Messages.EVENTS.EVENT_CLOSED) } this.selected.type = "PRIZE_CARD" - if (this.selected.type === null) { + if (this.prizeDetails.type === null) { isvalid = false; this.notifyErr(Messages.EVENTS.ACTIONS.PRIZECARD.PRIZE_TYPE); } else if (isEmpty(this.selected.title)) {