Files
klz-cables.com/.pnpm-store/v10/files/7d/48284ba7c30e15e9ede2414b0f984b57455f650d5f1117b1891c5014afb840bfd219b47ce8730e535e01815908d494f95bc06df88a0a3d1e9a45993b950b7d
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

25 lines
707 B
Plaintext

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