Skip to content

Commit fe3eeb5

Browse files
Merge pull request #229 from okerekechinweotito/fix/queue-footer-style
Fixes:[T349567] QueueTable Footer Pagination inconsistent style
2 parents 885e0f6 + 09090ed commit fe3eeb5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

components/QueueTable.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -225,19 +225,19 @@ const ShowUploadQueue = (props) => {
225225
</TableContainer>
226226
<TablePagination
227227
rowsPerPageOptions={[10, 25, 100]}
228-
component="div"
229228
SelectProps={styles.selectIcon}
229+
count={rows.length}
230+
rowsPerPage={rowsPerPage}
231+
page={page}
232+
onPageChange={handleChangePage}
233+
onRowsPerPageChange={handleChangeRowsPerPage}
230234
labelRowsPerPage={<div style={styles.toolbar}>Rows per page</div>}
231235
labelDisplayedRows={({ from, to, count }) => (
232236
<div style={styles.toolbar}>
233237
{`${from}${to} of ${count !== -1 ? count : `more than ${to}`}`}
234238
</div>
235239
)}
236-
count={rows.length}
237-
rowsPerPage={rowsPerPage}
238-
page={page}
239-
onPageChange={handleChangePage}
240-
onRowsPerPageChange={handleChangeRowsPerPage}
240+
sx={{ display: "flex", justifyContent: "end" }}
241241
/>
242242
</Paper>
243243
<Backdrop sx={styles.backdrop} open={open} onClick={handleClose}>

0 commit comments

Comments
 (0)