From 58041897a684c6f3be83a389ab3fb1a9cf4db109 Mon Sep 17 00:00:00 2001 From: Tim Chamberlain Date: Wed, 27 Jul 2022 17:14:46 -0500 Subject: [PATCH] QQQ-27: minor post demo updates --- src/App.tsx | 2 +- src/qqq/components/Navbar/index.tsx | 4 +++- src/qqq/pages/process-run/index.tsx | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index c518743..2a64679 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -87,7 +87,7 @@ function getStaticRoutes() } const SESSION_ID_COOKIE_NAME = "sessionId"; -LicenseInfo.setLicenseKey(process.env.MATERIAL_UI_LICENSE_KEY); +LicenseInfo.setLicenseKey(process.env.REACT_APP_MATERIAL_UI_LICENSE_KEY); export default function App() { diff --git a/src/qqq/components/Navbar/index.tsx b/src/qqq/components/Navbar/index.tsx index 4fd5ed3..38606b7 100644 --- a/src/qqq/components/Navbar/index.tsx +++ b/src/qqq/components/Navbar/index.tsx @@ -134,6 +134,8 @@ function Navbar({absolute, light, isMini}: Props): JSX.Element }, }); + const breadcrumbTitle = route[route.length - 1].replace(/([A-Z])/g, " $1").trim(); + return ( navbarRow(theme, {isMini})}> - + {miniSidenav ? "menu_open" : "menu"} diff --git a/src/qqq/pages/process-run/index.tsx b/src/qqq/pages/process-run/index.tsx index 4886a31..aa61568 100644 --- a/src/qqq/pages/process-run/index.tsx +++ b/src/qqq/pages/process-run/index.tsx @@ -32,7 +32,6 @@ import MDButton from "components/MDButton"; // Material Dashboard 2 PRO React TS examples components import DashboardLayout from "examples/LayoutContainers/DashboardLayout"; import DashboardNavbar from "examples/Navbars/DashboardNavbar"; -import Footer from "examples/Footer"; // ProcessRun layout schemas for form and form fields import * as Yup from "yup"; @@ -52,6 +51,7 @@ import QClient from "qqq/utils/QClient"; import {CircularProgress} from "@mui/material"; import QDynamicForm from "../../components/QDynamicForm"; import MDTypography from "../../../components/MDTypography"; +import Footer from "examples/Footer"; function logFormValidations(prefix: string, formValidations: any) {