From 4b1d7d2b7cc5ab602c29df464cd8cefb27747ff1 Mon Sep 17 00:00:00 2001 From: Lucano Vera Date: Tue, 26 Nov 2024 14:12:36 -0300 Subject: [PATCH] LA-7 Fix bug data subjects save --- .../src/features/taxonomy/components/TaxonomyEditForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/admin-ui/src/features/taxonomy/components/TaxonomyEditForm.tsx b/clients/admin-ui/src/features/taxonomy/components/TaxonomyEditForm.tsx index 57ed2d4b7f..b5e6806e17 100644 --- a/clients/admin-ui/src/features/taxonomy/components/TaxonomyEditForm.tsx +++ b/clients/admin-ui/src/features/taxonomy/components/TaxonomyEditForm.tsx @@ -26,7 +26,7 @@ const TaxonomyEditForm = ({ ...formValues, }; if ( - updatedTaxonomy?.rights?.values && + !updatedTaxonomy?.rights?.values || isEmpty(updatedTaxonomy?.rights?.values) ) { unset(updatedTaxonomy, "rights");