From 165bdaaa902b9c1526a26612aee5f83d7b79db9e Mon Sep 17 00:00:00 2001 From: Noel Kwan Date: Wed, 28 Aug 2024 15:58:21 +0800 Subject: [PATCH] set to undefined while waiting to fetch new graph --- dashboard/pages/fragment_graph.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/dashboard/pages/fragment_graph.tsx b/dashboard/pages/fragment_graph.tsx index 50931aaa6473..0cf4ccec94f1 100644 --- a/dashboard/pages/fragment_graph.tsx +++ b/dashboard/pages/fragment_graph.tsx @@ -208,6 +208,7 @@ export default function Streaming() { useEffect(() => { if (relationId) { + setTableFragments(undefined) getFragmentsByJobId(relationId).then((tf) => { setTableFragments(tf) })