From f676780489b0dc23fae7b0a11e97878057e9317e Mon Sep 17 00:00:00 2001 From: Uladzislau_Kutarkin Date: Thu, 24 Oct 2024 16:48:00 +0400 Subject: [PATCH] UIBULKED-572: fix lint --- .../BulkEditInApp/ContentUpdatesForm/ContentUpdatesForm.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/BulkEditPane/BulkEditListResult/BulkEditInApp/ContentUpdatesForm/ContentUpdatesForm.js b/src/components/BulkEditPane/BulkEditListResult/BulkEditInApp/ContentUpdatesForm/ContentUpdatesForm.js index 60972391..433acfff 100644 --- a/src/components/BulkEditPane/BulkEditListResult/BulkEditInApp/ContentUpdatesForm/ContentUpdatesForm.js +++ b/src/components/BulkEditPane/BulkEditListResult/BulkEditInApp/ContentUpdatesForm/ContentUpdatesForm.js @@ -224,7 +224,6 @@ export const ContentUpdatesForm = ({ const actionParameters = actions.find(action => Boolean(action?.parameters))?.parameters; const filteredTenants = actionTenants.filter(Boolean); - console.log(filteredTenants) const activeTenants = filteredTenants.length === 1 ? filteredTenants.flat() @@ -233,7 +232,7 @@ export const ContentUpdatesForm = ({ .filter((tenant, index, array) => array.indexOf(tenant) !== index); // That tenants array need when we use find and replace action with two different action values - const updated_tenants = filteredTenants[1] || [] + const updatedTenants = filteredTenants[1] || []; const type = ACTIONS[typeKey]; return { @@ -244,7 +243,7 @@ export const ContentUpdatesForm = ({ initial, updated, tenants: activeTenants, - updated_tenants, + updated_tenants: updatedTenants, parameters: [ ...(parameters || []), ...(actionParameters || []),