Update SortingSelector.vue

This commit is contained in:
stokedcheetah 2023-05-16 08:46:49 -04:00 committed by GitHub
parent 531339ce63
commit 108cdd2b04
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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