mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 08:36:44 +00:00
fix: inherit fields filter Foreign Key fields (#1864)
This commit is contained in:
parent
238af440e3
commit
190ba4db1f
@ -33,7 +33,7 @@ export const TableColumnInitializers = (props: any) => {
|
||||
{
|
||||
type: 'itemGroup',
|
||||
title: t(`Parent collection fields`) + '(' + compile(`${Object.keys(inherit)[0]}`) + ')',
|
||||
children: Object.values(inherit)[0],
|
||||
children: Object.values(inherit)[0].filter((v)=>!v?.field?.isForeignKey),
|
||||
},
|
||||
);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user