CEC-1666 Deploy Supplier Accounts to Staging (#165)
* CEC-1965 Supplier update and approval (#162) * CEC-1965 Supplier update and approval Fix calling connectedcars for no VINs Search sets table page to 0 * PR comments * CEC-1965 Cleanup (#163) * CEC-1965 Table footer fix (#164) tiny tiny change
This commit is contained in:
@@ -122,6 +122,10 @@ const CarSelectionTable = (props) => {
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [pageIndex, pageSize, orderBy, order, search, token]);
|
||||
|
||||
useEffect(() => {
|
||||
setPageIndex(0);
|
||||
}, [search]);
|
||||
|
||||
return (
|
||||
<div className={clsx(classes.paper, classes.tableSize)}>
|
||||
<Table>
|
||||
|
||||
Reference in New Issue
Block a user