mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 04:05:45 +00:00
fix: error when dragging to sort collections (#5311)
This commit is contained in:
parent
2107c86c63
commit
d399ab334b
@ -187,8 +187,8 @@ export const collectionTableSchema: ISchema = {
|
||||
return {
|
||||
async move(from, to) {
|
||||
await api.resource('collections').move({
|
||||
sourceId: from.key,
|
||||
targetId: to.key,
|
||||
sourceId: from.name,
|
||||
targetId: to.name,
|
||||
});
|
||||
message.success(t('Saved successfully'), 0.2);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user