parent
f272433019
commit
832694a311
|
@ -497,6 +497,14 @@ const Dashboard = () => {
|
|||
})
|
||||
.filter((e) => {
|
||||
return e.name.toLowerCase().includes(search);
|
||||
}).sort((a) => {
|
||||
if (a.statusOnline) {
|
||||
if (a.statusOnline.status === "online") {
|
||||
return -1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
return 0;
|
||||
})
|
||||
.map((user, index) => (
|
||||
<Grid
|
||||
|
|
Loading…
Reference in New Issue