IO-233 Add customer insert actions.

This commit is contained in:
Patrick Fic
2021-06-30 16:04:01 -07:00
parent 105ecd4221
commit 4ab0947cc8
3 changed files with 202 additions and 32 deletions

View File

@@ -55,6 +55,10 @@ export function DmsContainer({ bodyshop, setBreadcrumbs, setSelectedHeader }) {
socket.on("connected", () => {
console.log("Connected again.");
});
socket.on("reconnect", () => {
console.log("Connected again.");
setLogs([]);
});
socket.on("log-event", (payload) => {
setLogs((logs) => {
@@ -119,11 +123,11 @@ function LogLevelHierarchy(level) {
case "TRACE":
return "pink";
case "DEBUG":
return "orange";
return "green";
case "INFO":
return "blue";
case "WARNING":
return "yellow";
return "orange";
case "ERROR":
return "red";
default: