mirror of
https://github.com/strapi/strapi.git
synced 2025-11-02 02:44:55 +00:00
Fixes #802
This commit is contained in:
parent
ee99a4ce80
commit
af41ef444c
@ -51,7 +51,7 @@ module.exports = {
|
||||
if (name === 'file') {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
acc.push({
|
||||
icon: 'fa-cube',
|
||||
name: _.get(model, 'info.name', 'model.name.missing'),
|
||||
@ -214,7 +214,10 @@ module.exports = {
|
||||
|
||||
attr.via = relation.key;
|
||||
attr.dominant = relation.dominant;
|
||||
attr.plugin = relation.pluginValue;
|
||||
|
||||
if (relation.pluginValue) {
|
||||
attr.plugin = relation.pluginValue;
|
||||
}
|
||||
|
||||
attrs[attribute.name] = attr;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user