Skip to content

Commit

Permalink
fix(InventroyTable): Add activeFiltersConfig to prop cache to trigger…
Browse files Browse the repository at this point in the history
… refresh (#1838)
  • Loading branch information
bastilian authored Apr 21, 2023
1 parent efcbb40 commit 82b3acb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/InventoryTable/InventoryTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ const InventoryTable = forwardRef(({ // eslint-disable-line react/display-name
initialLoading,
ignoreRefresh,
showTagModal,
activeFiltersConfig,
tableProps,
isRbacEnabled,
hasCheckbox,
Expand Down Expand Up @@ -124,7 +125,8 @@ const InventoryTable = forwardRef(({ // eslint-disable-line react/display-name
showTags,
getEntities,
customFilters,
hasItems
hasItems,
activeFiltersConfig
});

/**
Expand All @@ -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
};
Expand Down

0 comments on commit 82b3acb

Please sign in to comment.