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