From 6628ee661c664f2166d9ce8ce3e60f8beacce498 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Gra=CC=88=C3=9Fl?= Date: Thu, 20 Apr 2023 12:07:36 +0200 Subject: [PATCH] fix(InventroyTable): Add activeFiltersConfig to prop cache to trigger refresh --- src/components/InventoryTable/InventoryTable.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/InventoryTable/InventoryTable.js b/src/components/InventoryTable/InventoryTable.js index 6dca45f4b..4773fc594 100644 --- a/src/components/InventoryTable/InventoryTable.js +++ b/src/components/InventoryTable/InventoryTable.js @@ -63,6 +63,7 @@ const InventoryTable = forwardRef(({ // eslint-disable-line react/display-name initialLoading, ignoreRefresh, showTagModal, + activeFiltersConfig, tableProps, isRbacEnabled, hasCheckbox, @@ -124,7 +125,8 @@ const InventoryTable = forwardRef(({ // eslint-disable-line react/display-name showTags, getEntities, customFilters, - hasItems + hasItems, + activeFiltersConfig }); /** @@ -144,6 +146,7 @@ const InventoryTable = forwardRef(({ // eslint-disable-line react/display-name hideFilters: cachedProps.hideFilters, filters: activeFilters, hasItems: cachedProps.hasItems, + activeFiltersConfig: cachedProps.activeFiltersConfig, ...cachedProps.customFilters, ...options };