Fortellis cleanup.
This commit is contained in:
@@ -69,7 +69,6 @@ export function DmsPostForm({ bodyshop, socket, job, logsRef }) {
|
||||
};
|
||||
|
||||
const handleFinish = (values) => {
|
||||
//TODO: Add this as a split instead.
|
||||
if (Fortellis.treatment === "on") {
|
||||
wsssocket.emit("fortellis-export-job", {
|
||||
jobid: job.id,
|
||||
@@ -84,9 +83,8 @@ export function DmsPostForm({ bodyshop, socket, job, logsRef }) {
|
||||
txEnvelope: values
|
||||
});
|
||||
}
|
||||
console.log(logsRef);
|
||||
|
||||
if (logsRef) {
|
||||
console.log("executing", logsRef);
|
||||
logsRef.curent &&
|
||||
logsRef.current.scrollIntoView({
|
||||
behavior: "smooth"
|
||||
|
||||
Reference in New Issue
Block a user