mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
Update SortingSelector.vue
This commit is contained in:
parent
531339ce63
commit
108cdd2b04
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ watch(selectedSort, value => {
|
||||||
emit("apply", (a, b) => b.uploaderName.localeCompare(a.uploaderName));
|
emit("apply", (a, b) => b.uploaderName.localeCompare(a.uploaderName));
|
||||||
break;
|
break;
|
||||||
case "random":
|
case "random":
|
||||||
emit("apply", (a, b) => Math.random() - 0.5);
|
emit("apply", () => Math.random() - 0.5);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
console.error("Unexpected sort value");
|
console.error("Unexpected sort value");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue