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
  • Loading branch information
bastilian committed Apr 20, 2023
1 parent 2f1949b commit 6628ee6
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 6628ee6

Please sign in to comment.