mirror of
https://github.com/strapi/strapi.git
synced 2025-10-17 11:08:14 +00:00
remove ?
This commit is contained in:
parent
59793db5b4
commit
6d168f8c54
@ -21,7 +21,7 @@ const getAllSchemasForContentType = ({ routeInfo, attributes, uniqueName }) => {
|
||||
let schemas = {};
|
||||
let componentSchemas = {};
|
||||
const addSchema = (schemaName, schema) => {
|
||||
if(!Object.keys(schema) || !Object.keys(schema?.properties)) {
|
||||
if(!Object.keys(schema) || !Object.keys(schema.properties)) {
|
||||
return false;
|
||||
}
|
||||
componentSchemas = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user