[O] set sortKey of noname as -1

pull/253/head
Elihuso Quigley 2024-07-13 20:15:26 +08:00
parent a25566a45c
commit 25e72d8450
1 changed files with 2 additions and 0 deletions

View File

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