Fix suggested shift sorting

This commit is contained in:
ConfusedPolarBear 2022-07-07 23:31:06 -05:00
parent 91dfa2aa50
commit 4333754430

View File

@ -533,7 +533,7 @@
if (shifts.length === 0) {
txtSuggested.textContent += "none available";
} else {
shifts.sort();
shifts.sort((a, b) => { return a - b });
txtSuggested.textContent += shifts.join(", ");
}
}