mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Fix for table double loading (#6035)
- Closes https://github.com/inventree/InvenTree/issues/6031
This commit is contained in:
parent
22800d6b10
commit
e6e1a66b34
@ -129,7 +129,8 @@ export function InvenTreeTable<T = any>({
|
|||||||
// Active filters (saved to local storage)
|
// Active filters (saved to local storage)
|
||||||
const [activeFilters, setActiveFilters] = useLocalStorage<any[]>({
|
const [activeFilters, setActiveFilters] = useLocalStorage<any[]>({
|
||||||
key: `inventree-active-table-filters-${tableName}`,
|
key: `inventree-active-table-filters-${tableName}`,
|
||||||
defaultValue: []
|
defaultValue: [],
|
||||||
|
getInitialValueInEffect: false
|
||||||
});
|
});
|
||||||
|
|
||||||
// Data selection
|
// Data selection
|
||||||
|
Loading…
Reference in New Issue
Block a user