From 2784b55c21cce71cda51384809da4ba7e371bb7f Mon Sep 17 00:00:00 2001 From: Johan Girod Date: Mon, 4 Apr 2022 10:04:29 +0200 Subject: [PATCH] Ajoute le simulateur covid dans la recherche et dans les stats --- .../ExonerationCovid/ExonérationCovid.tsx | 13 +++++++++++-- site/source/pages/Simulateurs/metadata-src.ts | 1 - 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/site/source/pages/Simulateurs/ExonerationCovid/ExonérationCovid.tsx b/site/source/pages/Simulateurs/ExonerationCovid/ExonérationCovid.tsx index 5ca4786c4..a23ac3aa5 100644 --- a/site/source/pages/Simulateurs/ExonerationCovid/ExonérationCovid.tsx +++ b/site/source/pages/Simulateurs/ExonerationCovid/ExonérationCovid.tsx @@ -1,3 +1,4 @@ +import { TrackPage } from '@/ATInternetTracking' import { ExplicableRule } from '@/components/conversation/Explicable' import RuleInput from '@/components/conversation/RuleInput' import { @@ -60,12 +61,20 @@ export const ExonérationCovid = () => { {step2 ? ( engine.evaluate('secteur').nodeValue !== 'S2' ? ( - + <> + + + ) : ( - + <> + + + + ) ) : ( <> +

{engine.getRule('secteur').rawNode.question} diff --git a/site/source/pages/Simulateurs/metadata-src.ts b/site/source/pages/Simulateurs/metadata-src.ts index aa3edbf56..943853c50 100644 --- a/site/source/pages/Simulateurs/metadata-src.ts +++ b/site/source/pages/Simulateurs/metadata-src.ts @@ -702,7 +702,6 @@ const metadataSrc = (t: TFunction<'translation', string>) => { icône: '😷', tracking: 'exoneration_covid', iframePath: 'exoneration-covid', - private: true, pathId: 'simulateurs.exonération-covid', meta: { title: t(