Fixed random sort

This commit is contained in:
stokedcheetah 2023-05-15 21:45:03 -04:00 committed by GitHub
parent 749be5350e
commit 531339ce63
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,6 +40,7 @@ watch(selectedSort, value => {
break;
case "random":
emit("apply", (a, b) => Math.random() - 0.5);
break;
default:
console.error("Unexpected sort value");
}