From f7cc980239ffa08b53b9f7d9dea89e812a92817c Mon Sep 17 00:00:00 2001 From: Yota Hamada Date: Tue, 24 Sep 2024 11:34:25 +0900 Subject: [PATCH] ui: fix: DAG groups are not visible on UI (#686) --- ui/src/components/molecules/DAGTable.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/src/components/molecules/DAGTable.tsx b/ui/src/components/molecules/DAGTable.tsx index a3075e26..625f6bc7 100644 --- a/ui/src/components/molecules/DAGTable.tsx +++ b/ui/src/components/molecules/DAGTable.tsx @@ -441,9 +441,10 @@ function DAGTable({ DAGs = [], group = '', refreshFn, searchText, handleSearchTe ]; }, [DAGs, group]); - const instance = useReactTable({ + const instance = useReactTable({ data, columns, + getSubRows: (row) =>row.subRows, getCoreRowModel: getCoreRowModel(), getSortedRowModel: getSortedRowModel(), getFilteredRowModel: getFilteredRowModel(),