Skip to content

Commit ba6d82f

Browse files
authored
[BUG]The title are missing in compiler page (#7072)
bring the title back
1 parent a32b8f6 commit ba6d82f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

torchci/components/metrics/panels/TablePanel.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import HelpIcon from "@mui/icons-material/Help";
2-
import { Skeleton, Typography } from "@mui/material";
2+
import { Box, Skeleton, Typography } from "@mui/material";
33
import IconButton from "@mui/material/IconButton";
44
import { DataGrid, GridColDef } from "@mui/x-data-grid";
55
import { CSSProperties } from "react";
@@ -100,7 +100,8 @@ export function TablePanelWithData({
100100
}
101101

102102
return (
103-
<>
103+
<Box sx={{ mb: 2, overflow: "hidden" }}>
104+
<Header />
104105
<DataGrid
105106
style={customStyle}
106107
{...dataGridProps}
@@ -112,8 +113,7 @@ export function TablePanelWithData({
112113
showFooter && pageSize === undefined && !disableAutoPageSize
113114
}
114115
pageSize={pageSize}
115-
slots={{ toolbar: Header }}
116116
/>
117-
</>
117+
</Box>
118118
);
119119
}

0 commit comments

Comments
 (0)