2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-12 18:15:40 +00:00

Add item key (#6089)

- Adds "key" to FilterItem component
This commit is contained in:
Oliver
2023-12-15 09:01:56 +11:00
committed by GitHub
parent aecdc0739d
commit 2aa993bcf5

View File

@ -189,7 +189,7 @@ export function FilterSelectDrawer({
>
<Stack spacing="xs">
{tableState.activeFilters.map((f) => (
<FilterItem flt={f} tableState={tableState} />
<FilterItem key={f.name} flt={f} tableState={tableState} />
))}
{tableState.activeFilters.length > 0 && <Divider />}
{addFilter && (