Skip to content

Commit

Permalink
fix: sort indices for custom selections
Browse files Browse the repository at this point in the history
  • Loading branch information
jkanche committed Jul 23, 2022
1 parent 65dc6b0 commit 6bff9a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ const App = () => {

if (customSelection !== null && Object.keys(customSelection).length > 0) {
let csLen = `cs${Object.keys(customSelection).length}`;
var cs = customSelection[csLen];
var cs = customSelection[csLen].sort((a, b) => { return a-b });
scranWorker.postMessage({
"type": "computeCustomMarkers",
"payload": {
Expand Down

0 comments on commit 6bff9a9

Please sign in to comment.