CEC-4217 fix car update table (#322)

This commit is contained in:
John Wu
2023-04-25 14:13:43 -07:00
committed by GitHub
parent d48edf678a
commit bd1f6f632c
2 changed files with 3 additions and 3 deletions

View File

@@ -195,7 +195,7 @@ exports[`CarUpdatesTab Render 1`] = `
>
<td
class="MuiTableCell-root MuiTableCell-footer MuiTableCell-alignCenter"
colspan="7"
colspan="8"
>
No Car Updates
</td>

View File

@@ -213,11 +213,11 @@ const MainForm = ({ vin, token }) => {
<TableFooter>
<TableRow>
{totalCarUpdates === 0 ? (
<TableCell colSpan={7} align="center">No Car Updates</TableCell>
<TableCell colSpan={8} align="center">No Car Updates</TableCell>
) : (
<TablePagination
rowsPerPageOptions={[5, 10, 25, 100]}
colSpan={7}
colSpan={8}
count={totalCarUpdates}
rowsPerPage={pageSize}
page={pageIndex}