Merged in feature/america (pull request #747)

Default log rocket on in Rome Production.
This commit is contained in:
Patrick Fic
2023-05-03 21:52:10 +00:00

View File

@@ -77,8 +77,9 @@ export function App({
if (currentUser.authorized && bodyshop) {
client.setAttribute("imexshopid", bodyshop.imexshopid);
LogRocket.init("rome-online/rome-online");
if (client.getTreatment("LogRocket_Tracking") === "on") {
LogRocket.init("gvfvfw/bodyshopapp");
LogRocket.init("rome-online/rome-online");
}
}
}, [bodyshop, client, currentUser.authorized]);