#174 完了
This commit is contained in:
@@ -27,7 +27,9 @@ const renderTagTree = (
|
||||
</li>)
|
||||
|
||||
return [self,
|
||||
...(tag.children?.flatMap (child => renderTagTree (child, nestLevel + 1, key)) ?? [])]
|
||||
...(tag.children
|
||||
?.sort ((a, b) => a.name < b.name ? -1 : 1)
|
||||
.flatMap (child => renderTagTree (child, nestLevel + 2, key)) ?? [])]
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user