mirror of
https://github.com/jpros/tacticalrmm-web.git
synced 2026-03-03 20:34:04 +00:00
fix process sorting
This commit is contained in:
@@ -109,6 +109,11 @@ export default {
|
||||
field: "memory_percent",
|
||||
align: "left",
|
||||
sortable: true,
|
||||
sort: (a, b, rowA, rowB) => {
|
||||
newA = parseFloat(a.replace(/[a-z]+/i, ""));
|
||||
newB = parseFloat(b.replace(/[a-z]+/i, ""));
|
||||
newB < newA;
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "username",
|
||||
|
||||
Reference in New Issue
Block a user