Add sort order and field to request

This commit is contained in:
Alex Holliday
2024-09-18 11:47:54 +08:00
parent 98f12d28a3
commit 354b0fd92f

View File

@@ -156,8 +156,8 @@ const MonitorTable = ({ isAdmin }) => {
page: page,
rowsPerPage: rowsPerPage,
filter: null,
field: null,
order: null,
field: sort.field,
order: sort.order,
});
setMonitors(res?.data?.data?.monitors ?? []);
setMonitorCount(res?.data?.data?.monitorCount ?? 0);