mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 10:46:54 +00:00
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) {
|
||||
return;
|
||||
}
|
||||
if (['sort', 'password', 'sequence'].includes(field.type)) {
|
||||
return;
|
||||
}
|
||||
const node = {
|
||||
type: 'duplicate',
|
||||
tag: compile(field.uiSchema?.title) || field.name,
|
||||
|
Loading…
Reference in New Issue
Block a user