mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 09:47:10 +00:00
fix: appends
This commit is contained in:
parent
9036eee80b
commit
db26c64aa2
@ -34,7 +34,10 @@ const CollectionResourceActionProvider = (props) => {
|
||||
params: {
|
||||
...others,
|
||||
...request?.params,
|
||||
appends: collection.fields.filter((field) => field.target).map((field) => field.name),
|
||||
appends: [
|
||||
...collection?.fields?.filter?.((field) => field.target).map((field) => field.name),
|
||||
...request?.params?.appends,
|
||||
],
|
||||
sort: dragSort ? [collection.sortable === true ? 'sort' : collection.sortable] : request?.params?.sort,
|
||||
},
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user