From e973acccf423a951e06dd42e4aba36fbb88f9d03 Mon Sep 17 00:00:00 2001
From: gcarron <gcarron@grandlyon.com>
Date: Fri, 25 Sep 2020 14:42:06 +0200
Subject: [PATCH] Fix legal notice and perfindicator

---
 .../PerformanceIndicator/FluidPerformanceIndicator.tsx         | 3 ++-
 src/locales/fr.json                                            | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/components/ContentComponents/PerformanceIndicator/FluidPerformanceIndicator.tsx b/src/components/ContentComponents/PerformanceIndicator/FluidPerformanceIndicator.tsx
index 196d2f3ef..343c4f321 100644
--- a/src/components/ContentComponents/PerformanceIndicator/FluidPerformanceIndicator.tsx
+++ b/src/components/ContentComponents/PerformanceIndicator/FluidPerformanceIndicator.tsx
@@ -75,7 +75,8 @@ const FluidPerformanceIndicator: React.FC<FluidPerformanceIndicatorProps> = ({
                   <span
                     className={`${FluidType[fluidType] + '-color euro-value'}`}
                   >
-                    {performanceIndicator.value &&
+                    {performanceIndicator &&
+                      performanceIndicator.value &&
                       `${formatNumberValues(
                         converterService.LoadToEuro(
                           performanceIndicator.value,
diff --git a/src/locales/fr.json b/src/locales/fr.json
index c9557f2c2..565b54b7d 100644
--- a/src/locales/fr.json
+++ b/src/locales/fr.json
@@ -176,7 +176,7 @@
     "READ_FAQ": "Lire la FAQ"
   },
   "LEGAL": {
-    "TITLE_LEGAL": "Mentions légales %{test} |||| Mention legale %{smart_count}",
+    "TITLE_LEGAL": "Mentions légales",
     "READ_LEGAL": "Lire les mentions légales"
   },
   "CHALLENGE": {
-- 
GitLab