mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-06-16 10:19:10 +00:00
sort roles and fix empty name styling
This commit is contained in:
parent
de37215850
commit
309b02c6f6
2 changed files with 4 additions and 2 deletions
|
@ -65,7 +65,7 @@ const getUncategorized = (roleMap: OrderedMap<RenderedRole>, allCategories: Set)
|
|||
name: 'Uncategorized',
|
||||
position: -1,
|
||||
roles: rolesLeft,
|
||||
_roles: rolesLeft.map(v => roleMap.get(v)).filter(v => v != null),
|
||||
_roles: rolesLeft.map(v => roleMap.get(v)).filter(v => v != null).sortBy(v => -v.position),
|
||||
hidden: true,
|
||||
type: 'multi'
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue