Files
klz-cables.com/.pnpm-store/v10/files/ff/e46acdf40c9631b59df6f279a11e8459a57943249b122481a38e2709f8621592b2f9afbc0f580242e94b452e28f29bb5f09299e7fa6feb9de23183670ffb55
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

1 line
974 B
Plaintext

{"version":3,"file":"getCustomDocumentViewByKey.js","names":["getCustomDocumentViewByKey","views","customViewKey","edit","Component"],"sources":["../../../src/views/Document/getCustomDocumentViewByKey.tsx"],"sourcesContent":["import type { EditViewComponent, SanitizedCollectionConfig, SanitizedGlobalConfig } from 'payload'\n\nexport const getCustomDocumentViewByKey = (\n views:\n | SanitizedCollectionConfig['admin']['components']['views']\n | SanitizedGlobalConfig['admin']['components']['views'],\n customViewKey: string,\n): EditViewComponent => {\n return typeof views?.edit?.[customViewKey] === 'object' &&\n 'Component' in views.edit[customViewKey]\n ? views?.edit?.[customViewKey].Component\n : null\n}\n"],"mappings":"AAEA,OAAO,MAAMA,0BAAA,GAA6BA,CACxCC,KAAA,EAGAC,aAAA;EAEA,OAAO,OAAOD,KAAA,EAAOE,IAAA,GAAOD,aAAA,CAAc,KAAK,YAC7C,eAAeD,KAAA,CAAME,IAAI,CAACD,aAAA,CAAc,GACtCD,KAAA,EAAOE,IAAA,GAAOD,aAAA,CAAc,CAACE,SAAA,GAC7B;AACN","ignoreList":[]}