Merge pull request #4028 from strapi/fix/group-relation-plugin-doc

Pass group associations as second param
This commit is contained in:
Alexandre BODIN 2019-09-17 10:37:35 +02:00 committed by GitHub
commit edc20a2c72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -660,7 +660,8 @@ module.exports = {
const { repeatable, group, min, max } = attribute;
const cmp = this.generateMainComponent(
strapi.groups[group].attributes
strapi.groups[group].attributes,
strapi.groups[group].associations
);
if (repeatable) {