fix: enable child collections remain after deleting a child collection (#1610)
This commit is contained in:
parent
64b1ee28fd
commit
de4beb57a0
@ -44,7 +44,7 @@ export const EnableChildCollections = observer((props: any) => {
|
||||
properties: {
|
||||
childrenCollections: {
|
||||
type: 'array',
|
||||
default: defaultValues,
|
||||
default: defaultValues.filter((v) => childrenCollections.find((k) => k.name === v.collection)),
|
||||
'x-component': 'ArrayItems',
|
||||
'x-decorator': 'FormItem',
|
||||
items: {
|
||||
|
Loading…
Reference in New Issue
Block a user