diff --git a/site/source/components/search/SimulatorHits.tsx b/site/source/components/search/SimulatorHits.tsx index 18fc35af7..3c9601a2f 100644 --- a/site/source/components/search/SimulatorHits.tsx +++ b/site/source/components/search/SimulatorHits.tsx @@ -56,14 +56,17 @@ export const SimulatorHits = connectHits(({ hits }: SimulatorHitsProps) => { )} - {hits.map((hit) => ( - - - - ))} + {hits.map( + (hit) => + hit.pathId && ( + + + + ) + )} ) diff --git a/site/source/pages/Simulateurs/metadata-src.js b/site/source/pages/Simulateurs/metadata-src.js index 8c9b9ce69..d13194287 100644 --- a/site/source/pages/Simulateurs/metadata-src.js +++ b/site/source/pages/Simulateurs/metadata-src.js @@ -608,6 +608,7 @@ module.exports = ({ t = (_, text) => text } = {}) => { icône: '🎩', tracking: 'dividendes', iframePath: 'dividendes', + pathId: 'simulateurs.dividendes', meta: { title: t('pages.simulateurs.dividendes.meta.title', 'Dividendes'), description: t(