fix employee data export

This commit is contained in:
Muhammad Fajar
2024-01-04 08:39:53 +07:00
parent 3580c93c02
commit f208f0b133
5 changed files with 1493 additions and 1111 deletions

View File

@@ -288,11 +288,7 @@ export default function Table<T>({
{exportReport && exportReport.useExport ? (
<Grid item xs={12} lg={2} xl={2}>
<FormControl fullWidth>
<Button
variant="contained"
sx={{ p: 2 }}
onClick={() => exportReport.handleExportReport}
>
<Button variant="contained" sx={{ p: 2 }} onClick={exportReport.handleExportReport}>
<Download />
<Typography variant="inherit" sx={{ marginLeft: 1 }}>
Export