1
0
mirror of https://github.com/one-among-us/data.git synced 2024-11-25 20:47:37 +08:00

[O] set sortKey of noname as -1

This commit is contained in:
Elihuso Quigley 2024-07-13 20:15:26 +08:00
parent a25566a45c
commit 25e72d8450

View File

@ -116,6 +116,8 @@ function buildPeopleInfoAndList() {
...Object.fromEntries(["id", "name", "profileUrl"].map(key => [key, info[key]])) ...Object.fromEntries(["id", "name", "profileUrl"].map(key => [key, info[key]]))
} as PeopleMeta; } as PeopleMeta;
if (peopleMeta.id == 'noname') peopleMeta.sortKey = '-1';
// Add meta to people list // Add meta to people list
if (peopleList.filter(it => it.id == peopleMeta.id).length == 0) { if (peopleList.filter(it => it.id == peopleMeta.id).length == 0) {
if (!actualHide.includes(peopleMeta.id)) { if (!actualHide.includes(peopleMeta.id)) {