fix(data-templates): filter out some fileds
This commit is contained in:
parent
11fb951b55
commit
76faa9e30c
@ -71,6 +71,9 @@ export const useCollectionState = (currentCollectionName: string) => {
|
|||||||
if (!field.interface) {
|
if (!field.interface) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (['sort', 'password', 'sequence'].includes(field.type)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
const node = {
|
const node = {
|
||||||
type: 'duplicate',
|
type: 'duplicate',
|
||||||
tag: compile(field.uiSchema?.title) || field.name,
|
tag: compile(field.uiSchema?.title) || field.name,
|
||||||
|
Loading…
Reference in New Issue
Block a user