implement sorting
This commit is contained in:
1 parent
7e1a5b6ec8
commit
2d2b101eb7
3 files changed
+23
-3
No files matched your search
@@ -151,7 +151,10 @@ const MonitorTable = ({ isAdmin }) => {
|
||||
"desc",
|
||||
true,
|
||||
page,
|
||||
rowsPerPage
|
||||
rowsPerPage,
|
||||
null,
|
||||
"createdAt",
|
||||
"desc"
|
||||
);
|
||||
setMonitors(res?.data?.data?.monitors ?? []);
|
||||
setMonitorCount(res?.data?.data?.monitorCount ?? 0);
|
||||
|
||||
Reference in new issue
Block a user