fix status sorter
This commit is contained in:
parent
030e120550
commit
ee991ae59d
@ -5,7 +5,7 @@ const byStatus = (a: StatusSorterItem, b: StatusSorterItem) => {
|
||||
|
||||
const x = typeof a === 'string' ? a : a.key;
|
||||
const y = typeof b === 'string' ? b : b.key;
|
||||
return (StatusSorter[x] = StatusSorter[y]);
|
||||
return StatusSorter[x] - StatusSorter[y];
|
||||
};
|
||||
|
||||
export const StatusSorter = {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user