From b11129c7ae2decc8f7547a3c37c8c0f5cf936cda Mon Sep 17 00:00:00 2001 From: Abhishek P Anil Date: Fri, 5 Apr 2024 16:56:10 +0530 Subject: [PATCH] fix: fixed the add taxonomy issue with key getting undefined for mappedField --- src/pages/Dashboard/AddTaxonomy/AddTaxonomy.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Dashboard/AddTaxonomy/AddTaxonomy.jsx b/src/pages/Dashboard/AddTaxonomy/AddTaxonomy.jsx index e0fa39bca..0e00b47ff 100644 --- a/src/pages/Dashboard/AddTaxonomy/AddTaxonomy.jsx +++ b/src/pages/Dashboard/AddTaxonomy/AddTaxonomy.jsx @@ -169,7 +169,7 @@ const AddTaxonomyTest = () => { ? location.state?.dynamic === 'not-dynamic' : taxonomyData?.isDynamicField, includeInFullTextSearch: true, - mappedToField: values?.mappedToField?.key, + mappedToField: values?.mappedToField, isAdminOnly: userAccess?.length > 0, disambiguatingDescription: { en: values?.frenchdescription?.trim(),