mirror of
https://github.com/strapi/strapi.git
synced 2025-12-26 06:35:47 +00:00
Merge pull request #1017 from strapi/enhance/ctb
Ignore file model in the CTB
This commit is contained in:
commit
6e9dc44aa0
@ -48,6 +48,10 @@ module.exports = {
|
||||
|
||||
const pluginModels = Object.keys(strapi.plugins).reduce((acc, current) => {
|
||||
_.forEach(strapi.plugins[current].models, (model, name) => {
|
||||
if (name === 'file') {
|
||||
return true;
|
||||
}
|
||||
|
||||
acc.push({
|
||||
icon: 'fa-cube',
|
||||
name: _.get(model, 'info.name', 'model.name.missing'),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user