- IO-2684 (Flex issues, taken care of here and a few other places)

- Add Log Rocket on beta.imex.online
- Updated Frontend and Backend npm packages, please do a NPM install on both

Signed-off-by: Dave Richer <dave@imexsystems.ca>
This commit is contained in:
Dave Richer
2024-01-12 13:58:05 -05:00
parent ef0bc8c313
commit 9fc586434e
9 changed files with 320 additions and 301 deletions

View File

@@ -90,7 +90,10 @@ export function App({bodyshop, checkUserSession, currentUser, online, setOnline}
if (currentUser.authorized && bodyshop) {
client.setAttribute("imexshopid", bodyshop.imexshopid);
if (client.getTreatment("LogRocket_Tracking") === "on") {
if (
client.getTreatment("LogRocket_Tracking") === "on" ||
window.location.hostname === 'beta.imex.online'
) {
console.log("LR Start");
LogRocket.init("gvfvfw/bodyshopapp");
}