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