ui: fix: DAG groups are not visible on UI (#686)
Some checks failed
CI / Check for spelling errors (push) Has been cancelled
CI / Go Linter (push) Has been cancelled
CI / Test (push) Has been cancelled

This commit is contained in:
Yota Hamada 2024-09-24 11:34:25 +09:00 committed by GitHub
parent 4065af3c81
commit f7cc980239
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -441,9 +441,10 @@ function DAGTable({ DAGs = [], group = '', refreshFn, searchText, handleSearchTe
];
}, [DAGs, group]);
const instance = useReactTable({
const instance = useReactTable<DAGRow>({
data,
columns,
getSubRows: (row) =>row.subRows,
getCoreRowModel: getCoreRowModel(),
getSortedRowModel: getSortedRowModel(),
getFilteredRowModel: getFilteredRowModel(),