mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-07 22:49:26 +08: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 {
|
return {
|
||||||
async move(from, to) {
|
async move(from, to) {
|
||||||
await api.resource('collections').move({
|
await api.resource('collections').move({
|
||||||
sourceId: from.key,
|
sourceId: from.name,
|
||||||
targetId: to.key,
|
targetId: to.name,
|
||||||
});
|
});
|
||||||
message.success(t('Saved successfully'), 0.2);
|
message.success(t('Saved successfully'), 0.2);
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user