From 5f4099793b4e2b45b7bb9d588f13db76c2aa6e7d Mon Sep 17 00:00:00 2001 From: Muslimjon Kholjuraev Date: Thu, 27 Apr 2023 14:03:16 +0200 Subject: [PATCH] fix(ESSNTL-4714): fix display name unwanted reset on sort --- src/components/InventoryTable/InventoryTable.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/InventoryTable/InventoryTable.js b/src/components/InventoryTable/InventoryTable.js index d1f46e71c..6d17d2ab0 100644 --- a/src/components/InventoryTable/InventoryTable.js +++ b/src/components/InventoryTable/InventoryTable.js @@ -146,8 +146,9 @@ const InventoryTable = forwardRef(({ // eslint-disable-line react/display-name hideFilters: cachedProps.hideFilters, filters: activeFilters, hasItems: cachedProps.hasItems, + //RHIF-246: Compliance app depends on activeFiltersConfig to apply its filters. activeFiltersConfig: cachedProps.activeFiltersConfig, - ...cachedProps.customFilters, + ...customFilters, ...options };