From 6230375513ee16cc9f661140aa1eafb494a06460 Mon Sep 17 00:00:00 2001 From: alex Date: Sat, 9 Mar 2024 15:56:41 +0100 Subject: [PATCH] added two tabs --- public/locales/de/translation.json | 2 ++ public/locales/en/translation.json | 2 ++ src/Pages/CrmTest/CrmTest.js | 3 +-- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/public/locales/de/translation.json b/public/locales/de/translation.json index a395807..1fbf6ff 100644 --- a/public/locales/de/translation.json +++ b/public/locales/de/translation.json @@ -265,6 +265,8 @@ "segmentedOptions": [ "Recherchierte Leads", "Geprüfte Leads", + "Low player", + "High player", "DMC versendet", "Follow Up", "Ungeeignet" diff --git a/public/locales/en/translation.json b/public/locales/en/translation.json index 0b0559f..d758e3f 100644 --- a/public/locales/en/translation.json +++ b/public/locales/en/translation.json @@ -265,6 +265,8 @@ "segmentedOptions": [ "Researched Leads", "Checked Leads", + "Low player", + "High player", "DMC sent", "Follow Up", "Unsuitable" diff --git a/src/Pages/CrmTest/CrmTest.js b/src/Pages/CrmTest/CrmTest.js index b694021..dd7849a 100644 --- a/src/Pages/CrmTest/CrmTest.js +++ b/src/Pages/CrmTest/CrmTest.js @@ -1428,8 +1428,7 @@ function CallProtocolModal({ formDealInfo, notificationApi }) { .then((values) => { setIsRequesting(true); - console.log("values", values, callResult.answers); - + // check if all questions are answered and the last answer is not no if ( callResult.answers.length < optionsCallResult.length && callResult.answers[callResult.answers.length - 1] !== 0