UNPKG

@websolutespa/payload-plugin-bowl

Version:

Bowl PayloadCms plugin of the BOM Repository

9 lines (8 loc) 313 B
import { isArray } from '@websolutespa/bom-core'; export async function decorateComponents_(item, slug, context) { if ('components' in item && isArray(item.components)) { item.components = item.components.filter((x)=>x.hidden !== true); } return item; } //# sourceMappingURL=components.js.map