From 7fb1f18ba8dfc05f7cacc465c5e674d963e90287 Mon Sep 17 00:00:00 2001 From: Dillon Ngo Date: Sat, 11 Jan 2025 06:11:34 +0800 Subject: [PATCH] Admin Workflow - Fix Tested Issues --- .../components/general/forms/AdminWorkFlowFormComponent.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/resources/assets/vue/components/general/forms/AdminWorkFlowFormComponent.vue b/resources/assets/vue/components/general/forms/AdminWorkFlowFormComponent.vue index a24a819b..d4ee674f 100644 --- a/resources/assets/vue/components/general/forms/AdminWorkFlowFormComponent.vue +++ b/resources/assets/vue/components/general/forms/AdminWorkFlowFormComponent.vue @@ -472,8 +472,10 @@ if(this.question.is_previous && this.question.answer){ this.externalApiResponse = { data: JSON.parse(this.question.answer.question_metadata) }; - this.answer = this.question.answer.answer; - this.answerId = this.question.answer.answer_option_id; + if(this.question.question_type !== 7){ + this.answer = this.question.answer.answer; + this.answerId = this.question.answer.answer_option_id; + } } else { if(this.question && this.question.url){