mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-28 21:03:08 +02:00
Remove self-assignment (#3476)
This commit is contained in:
parent
e264a49b08
commit
184eb00133
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ export default define(meta, (ps) => new Promise(async (res, rej) => {
|
|||
});
|
||||
|
||||
// タグを人気順に並べ替え
|
||||
tags = tags.sort((a, b) => b.count - a.count);
|
||||
tags.sort((a, b) => b.count - a.count);
|
||||
|
||||
tags = tags.slice(0, 30);
|
||||
|
||||
|
|
Loading…
Reference in a new issue