From e6e1a66b34395a34d0e47cb9c30073de7469afb1 Mon Sep 17 00:00:00 2001 From: Oliver Date: Tue, 5 Dec 2023 23:20:53 +1100 Subject: [PATCH] Fix for table double loading (#6035) - Closes https://github.com/inventree/InvenTree/issues/6031 --- src/frontend/src/components/tables/InvenTreeTable.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/frontend/src/components/tables/InvenTreeTable.tsx b/src/frontend/src/components/tables/InvenTreeTable.tsx index 63bb1243f9..5232ce5d3e 100644 --- a/src/frontend/src/components/tables/InvenTreeTable.tsx +++ b/src/frontend/src/components/tables/InvenTreeTable.tsx @@ -129,7 +129,8 @@ export function InvenTreeTable({ // Active filters (saved to local storage) const [activeFilters, setActiveFilters] = useLocalStorage({ key: `inventree-active-table-filters-${tableName}`, - defaultValue: [] + defaultValue: [], + getInitialValueInEffect: false }); // Data selection