mirror of
https://github.com/strapi/strapi.git
synced 2025-09-26 08:52:26 +00:00
add a comment to specify the collection names are not all normalized
This commit is contained in:
parent
858915130d
commit
0dbea89d29
@ -187,6 +187,7 @@ const forms = {
|
|||||||
})
|
})
|
||||||
: pluralNames;
|
: pluralNames;
|
||||||
|
|
||||||
|
// return the array of collection names not all normalized
|
||||||
const collectionNames = Object.values(contentTypes).map((contentType) => {
|
const collectionNames = Object.values(contentTypes).map((contentType) => {
|
||||||
return get(contentType, ['schema', 'collectionName'], '');
|
return get(contentType, ['schema', 'collectionName'], '');
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user