Fixed shared list sorting
Use Array.sort instead of underscore's sortBy() as they don't use the same method/function signature.
This commit is contained in:
parent
268af9039a
commit
4ba492f28d
|
@ -238,12 +238,11 @@
|
|||
);
|
||||
delete data.recipientsCount;
|
||||
})
|
||||
// Sort by expected sort comparator
|
||||
.sortBy(this._sortComparator)
|
||||
// Finish the chain by getting the result
|
||||
.value();
|
||||
|
||||
return files;
|
||||
// Sort by expected sort comparator
|
||||
return files.sort(this._sortComparator);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue