finish expanded queries and ui.

This commit is contained in:
Francis Cao 2025-08-07 09:47:18 -07:00
parent 0a0c1f27c6
commit 38f251ead5
12 changed files with 119 additions and 113 deletions

View file

@ -114,7 +114,7 @@ export function MetricsTable({
return (
<Column gap="3" justifyContent="space-between">
<LoadingPanel data={data} isFetching={isFetching} isLoading={isLoading} error={error} gap>
<LoadingPanel isFetching={isFetching} isLoading={isLoading} error={error} gap>
<Row alignItems="center" justifyContent="space-between">
{allowSearch && <SearchField value={search} onSearch={setSearch} delay={300} />}
<Row>
@ -124,7 +124,7 @@ export function MetricsTable({
</Row>
{data &&
(expanded ? (
<ListExpandedTable {...(props as ListExpandedTableProps)} data={data} type={type} />
<ListExpandedTable {...(props as ListExpandedTableProps)} data={data} />
) : (
<ListTable {...(props as ListTableProps)} data={filteredData} />
))}