- 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");
}

View File

@@ -14,7 +14,7 @@ export default function ChatTagRoComponent({
const { t } = useTranslation();
return (
<Space flex>
<Space>
<div style={{ width: "15rem" }}>
<Select
showSearch

View File

@@ -186,7 +186,6 @@ export function EmailOverlayContainer({
okText={t("general.actions.send")}
okButtonProps={{
loading: sending,
disabled:
selectedMedia &&
(selectedMedia

View File

@@ -53,7 +53,7 @@ export function ScheduleEventNote({ event }) {
return (
<DataLabel label={t("appointments.fields.note")}>
<Space flex>
<Space>
{!editing ? (
event.note || ""
) : (

View File

@@ -68,6 +68,7 @@ function VehicleDetailFormContainer({ vehicle, refetch }) {
title={t("menus.header.vehicles")}
extra={[
<Popconfirm
key="delete"
trigger="click"
onConfirm={handleDelete}
disabled={vehicle.jobs.length !== 0}
@@ -83,6 +84,7 @@ function VehicleDetailFormContainer({ vehicle, refetch }) {
</Button>
</Popconfirm>,
<Button
key="save"
type="primary"
loading={loading}
onClick={() => form.submit()}