From 15a347ce6b6859ae61fb2aa7b57bf9d0cfdae850 Mon Sep 17 00:00:00 2001 From: Jeremy Clements <79224539+jeclrsg@users.noreply.github.com> Date: Tue, 24 Sep 2024 12:11:33 -0400 Subject: [PATCH] HPCC-32713 ECL Watch v9 fix WU list not sorting fix an issue with the Grid's use of request abort signals Signed-off-by: Jeremy Clements <79224539+jeclrsg@users.noreply.github.com> --- esp/src/src-react/components/controls/Grid.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esp/src/src-react/components/controls/Grid.tsx b/esp/src/src-react/components/controls/Grid.tsx index e0ddc78c7e0..cbbf129f7d9 100644 --- a/esp/src/src-react/components/controls/Grid.tsx +++ b/esp/src/src-react/components/controls/Grid.tsx @@ -260,7 +260,7 @@ const FluentStoreGrid: React.FunctionComponent = ({ setItems(items); selectedIndices.forEach(index => selectionHandler.setIndexSelected(index, true, false)); }); - }, [count, selectionHandler, start, store], [query, sorted]); + }, [abortController?.current?.signal, count, selectionHandler, start, store], [query, sorted]); React.useEffect(() => { // Dummy line to ensure its included in the dependency array ---