mirror of
https://github.com/strapi/strapi.git
synced 2025-11-12 00:03:40 +00:00
10 lines
200 B
JavaScript
10 lines
200 B
JavaScript
'use strict';
|
|
|
|
const findComponentByGlobalId = globalId => {
|
|
return Object.values(strapi.components).find(compo => compo.globalId === globalId);
|
|
};
|
|
|
|
module.exports = {
|
|
findComponentByGlobalId,
|
|
};
|