update import
This commit is contained in:
@@ -366,14 +366,32 @@ export default function List() {
|
||||
</Stack>
|
||||
)}
|
||||
{importResult && (
|
||||
// <Stack direction={'row'} sx={{ px: 2, pb: 2 }}>
|
||||
// <Box sx={{ color: 'text.secondary' }}>
|
||||
// Last Import Result Report :{' '}
|
||||
// <a href={importResult.result_file?.url ?? '#'}>
|
||||
// {importResult.result_file?.name ?? '-'}
|
||||
// </a>
|
||||
// </Box>
|
||||
// </Stack>
|
||||
|
||||
<Stack direction={'row'} sx={{ px: 2, pb: 2 }}>
|
||||
<Box sx={{ color: 'text.secondary' }}>
|
||||
Last Import Result Report :{' '}
|
||||
Last Import Result :{' '}
|
||||
<Box sx={{ color: 'success.main', display: 'inline' }}>
|
||||
{importResult.result_file?.total_success_row ?? 0}
|
||||
</Box>{' '}
|
||||
Row Processed,{' '}
|
||||
<Box sx={{ color: 'error.main', display: 'inline' }}>
|
||||
{importResult.result_file?.total_failed_row}
|
||||
</Box>{' '}
|
||||
Failed, Report :{' '}
|
||||
<a href={importResult.result_file?.url ?? '#'}>
|
||||
{importResult.result_file?.name ?? '-'}
|
||||
</a>
|
||||
</Box>
|
||||
</Stack>
|
||||
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user