add a comment to specify the collection names are not all normalized

This commit is contained in:
Simone Taeggi 2023-05-09 14:23:37 +02:00
parent 858915130d
commit 0dbea89d29

View File

@ -187,6 +187,7 @@ const forms = {
})
: pluralNames;
// return the array of collection names not all normalized
const collectionNames = Object.values(contentTypes).map((contentType) => {
return get(contentType, ['schema', 'collectionName'], '');
});