mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-16 09:39:09 +00:00
Fix role ordering (#789)
* fix role order in picker * one of these sorts will flip it omg * fix role list * revert forced role sort in api
This commit is contained in:
parent
33a8a0048f
commit
45a1f45055
4 changed files with 21 additions and 18 deletions
|
@ -47,7 +47,7 @@ export const PickerCategory = (props: CategoryProps) => (
|
|||
)}
|
||||
</Head>
|
||||
<Category>
|
||||
{sortBy(props.roles, 'position').map((role, idx) => (
|
||||
{sortBy(props.roles, 'position', undefined, true).map((role, idx) => (
|
||||
<Container key={idx}>
|
||||
<Role
|
||||
role={role}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue