From 2712ee5c0b1c325138836cdb675a1100a8813b9d Mon Sep 17 00:00:00 2001
From: Patrick Fic <>
Date: Thu, 30 Sep 2021 09:44:15 -0700
Subject: [PATCH] IO-1416 Add missing LAA to resp center setup.
---
bodyshop_translations.babel | 21 +++++
client/src/App/App.container.jsx | 4 +-
...p-info.responsibilitycenters.component.jsx | 78 +++++++++++++++++++
client/src/landing/data.source.js | 2 +-
client/src/translations/en_us/common.json | 1 +
client/src/translations/es/common.json | 1 +
client/src/translations/fr/common.json | 1 +
7 files changed, 105 insertions(+), 3 deletions(-)
diff --git a/bodyshop_translations.babel b/bodyshop_translations.babel
index 73624e110..56b4d31ac 100644
--- a/bodyshop_translations.babel
+++ b/bodyshop_translations.babel
@@ -6134,6 +6134,27 @@
+
+ laa
+ false
+
+
+
+
+
+ en-US
+ false
+
+
+ es-MX
+ false
+
+
+ fr-CA
+ false
+
+
+
lab
false
diff --git a/client/src/App/App.container.jsx b/client/src/App/App.container.jsx
index 335700af3..41d7a6ad8 100644
--- a/client/src/App/App.container.jsx
+++ b/client/src/App/App.container.jsx
@@ -24,8 +24,8 @@ export const tracker = new Tracker({
// beaconSize: 10485760,
onStart: async ({ sessionID }) => {
const user = await getCurrentUser();
- tracker.setUserID(user.email);
- console.log("ORS SESSION ", sessionID, user.email);
+ if (user) tracker.setUserID(user.email);
+ console.log("ORS SESSION ", sessionID, user && user.email);
},
});
diff --git a/client/src/components/shop-info/shop-info.responsibilitycenters.component.jsx b/client/src/components/shop-info/shop-info.responsibilitycenters.component.jsx
index 4e66af8e7..e81133237 100644
--- a/client/src/components/shop-info/shop-info.responsibilitycenters.component.jsx
+++ b/client/src/components/shop-info/shop-info.responsibilitycenters.component.jsx
@@ -515,6 +515,27 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) {
))}
+
+
+
+
+
+
+
+
+
+
+
+
14500GB流量包
14国内按峰值宽带账单
14弹性计算
-
14云服务器 ECS{" "}
+
14云服务器 ECS
),
},
diff --git a/client/src/translations/en_us/common.json b/client/src/translations/en_us/common.json
index 533efd873..10cb40021 100644
--- a/client/src/translations/en_us/common.json
+++ b/client/src/translations/en_us/common.json
@@ -396,6 +396,7 @@
"la2": "LA2",
"la3": "LA3",
"la4": "LA4",
+ "laa": "Aluminum",
"lab": "Body",
"lad": "Diagnostic",
"lae": "Electrical",
diff --git a/client/src/translations/es/common.json b/client/src/translations/es/common.json
index 69c67002b..307547639 100644
--- a/client/src/translations/es/common.json
+++ b/client/src/translations/es/common.json
@@ -396,6 +396,7 @@
"la2": "",
"la3": "",
"la4": "",
+ "laa": "",
"lab": "",
"lad": "",
"lae": "",
diff --git a/client/src/translations/fr/common.json b/client/src/translations/fr/common.json
index 6f31d9b24..e539dd79f 100644
--- a/client/src/translations/fr/common.json
+++ b/client/src/translations/fr/common.json
@@ -396,6 +396,7 @@
"la2": "",
"la3": "",
"la4": "",
+ "laa": "",
"lab": "",
"lad": "",
"lae": "",