mirror of
https://github.com/strapi/strapi.git
synced 2025-10-20 20:41:20 +00:00
Update packages/strapi-plugin-content-manager/config/functions/bootstrap.js
Co-Authored-By: soupette <cyril.lpz@gmail.com>
This commit is contained in:
parent
9368d45c24
commit
09ae14bc2e
@ -53,7 +53,7 @@ module.exports = async cb => {
|
|||||||
}, {});
|
}, {});
|
||||||
// Reference all current models
|
// Reference all current models
|
||||||
const appModels = Object.keys(pluginsModel).reduce((acc, curr) => {
|
const appModels = Object.keys(pluginsModel).reduce((acc, curr) => {
|
||||||
const models = Object.keys(_.get(pluginModels, [curr, 'models'], {}));
|
const models = Object.keys(_.get(pluginsModel, [curr, 'models'], {}));
|
||||||
|
|
||||||
return acc.concat(models);
|
return acc.concat(models);
|
||||||
}, Object.keys(strapi.models).filter(m => m !== 'core_store'));
|
}, Object.keys(strapi.models).filter(m => m !== 'core_store'));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user