Files
klz-cables.com/.pnpm-store/v10/files/b6/4f26a5c5b1edd3d4e44b2477f375f0f5588b57d2fd1137cfaf6d8fe16eeb068a4731bce92fe9d605b59acbe60d089a44662101e1a97ad9882112294536213c
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

24 lines
630 B
Plaintext

import { getTranslation } from '@payloadcms/translations';
import { generateMetadata } from '../../utilities/meta.js';
export const generateListViewMetadata = async args => {
const {
collectionConfig,
config,
i18n
} = args;
let title = '';
const description = '';
const keywords = '';
if (collectionConfig) {
title = getTranslation(collectionConfig.labels.plural, i18n);
}
return generateMetadata({
...(config.admin.meta || {}),
description,
keywords,
serverURL: config.serverURL,
title,
...(collectionConfig?.admin?.meta || {})
});
};
//# sourceMappingURL=metadata.js.map