- 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:
@@ -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");
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@ export default function ChatTagRoComponent({
|
||||
const { t } = useTranslation();
|
||||
|
||||
return (
|
||||
<Space flex>
|
||||
<Space>
|
||||
<div style={{ width: "15rem" }}>
|
||||
<Select
|
||||
showSearch
|
||||
|
||||
@@ -186,7 +186,6 @@ export function EmailOverlayContainer({
|
||||
okText={t("general.actions.send")}
|
||||
okButtonProps={{
|
||||
loading: sending,
|
||||
|
||||
disabled:
|
||||
selectedMedia &&
|
||||
(selectedMedia
|
||||
|
||||
@@ -53,7 +53,7 @@ export function ScheduleEventNote({ event }) {
|
||||
|
||||
return (
|
||||
<DataLabel label={t("appointments.fields.note")}>
|
||||
<Space flex>
|
||||
<Space>
|
||||
{!editing ? (
|
||||
event.note || ""
|
||||
) : (
|
||||
|
||||
@@ -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()}
|
||||
|
||||
Reference in New Issue
Block a user