Files
klz-cables.com/.pnpm-store/v10/files/79/e17f8d9f48ac047dafb838fa971520f3a065ab48d11848d51d88c922910cb4edd351ad699d4bcb564f65b814d82da2bc4f834d296ef18825dc6b598a77d7a6
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

16 lines
339 B
Plaintext

export const getCustomViewByKey = ({
config,
viewKey
}) => {
const customViewComponent = config.admin.components?.views?.[viewKey];
if (!customViewComponent) {
return null;
}
return {
view: {
payloadComponent: customViewComponent.Component
},
viewKey
};
};
//# sourceMappingURL=getCustomViewByKey.js.map