mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 06:32:51 +00:00
fix: getNesterAppends filter bug
This commit is contained in:
parent
a6c7b417de
commit
c785beb865
@ -1146,7 +1146,7 @@ export const useAssociationNames = (collection) => {
|
||||
}, data);
|
||||
return data.filter((g) => g.length);
|
||||
};
|
||||
const data = getAssociationAppends(formSchema);
|
||||
const data = getAssociationAppends(formSchema)||[];
|
||||
const associations = data.filter((g) => g.length);
|
||||
const appends = flattenNestedList(associations);
|
||||
return { appends, updateAssociationValues: appends.filter((v) => associationValues.includes(v)) };
|
||||
|
Loading…
Reference in New Issue
Block a user