fix list order down
This commit is contained in:
parent
9b7c8fd642
commit
f258de54b0
1 changed files with 1 additions and 1 deletions
|
@ -350,7 +350,7 @@ const ClaimPreview = forwardRef<any, {}>((props: Props, ref: any) => {
|
|||
if (editCollection) {
|
||||
// $FlowFixMe
|
||||
editCollection(collectionId, {
|
||||
order: { from: collectionIndex, to: Number(collectionIndex || 0) + 1 },
|
||||
order: { from: collectionIndex, to: Number(collectionIndex) - 1 },
|
||||
});
|
||||
}
|
||||
}}
|
||||
|
|
Loading…
Reference in a new issue