mirror of
https://github.com/directus/directus.git
synced 2026-01-23 13:37:58 -05:00
Fix typeAllowList (#17830)
This commit is contained in:
@@ -94,7 +94,7 @@ export default defineComponent({
|
||||
!!field.schema?.is_primary_key ||
|
||||
props.disabledFields.includes(field.field) ||
|
||||
props.typeDenyList.includes(field.type) ||
|
||||
!props.typeAllowList?.includes(field.type),
|
||||
(props.typeAllowList && !props.typeAllowList.includes(field.type)),
|
||||
}));
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user