mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-11 08:32:47 +01: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);
|
tags = tags.slice(0, 30);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue