mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-17 21:00:45 +00:00
QQQ-27: minor post demo updates
This commit is contained in:
@ -87,7 +87,7 @@ function getStaticRoutes()
|
|||||||
}
|
}
|
||||||
|
|
||||||
const SESSION_ID_COOKIE_NAME = "sessionId";
|
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()
|
export default function App()
|
||||||
{
|
{
|
||||||
|
@ -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 (
|
return (
|
||||||
<AppBar
|
<AppBar
|
||||||
position={absolute ? "absolute" : navbarType}
|
position={absolute ? "absolute" : navbarType}
|
||||||
@ -144,7 +146,7 @@ function Navbar({absolute, light, isMini}: Props): JSX.Element
|
|||||||
>
|
>
|
||||||
<Toolbar sx={navbarContainer}>
|
<Toolbar sx={navbarContainer}>
|
||||||
<MDBox color="inherit" mb={{xs: 1, md: 0}} sx={(theme) => navbarRow(theme, {isMini})}>
|
<MDBox color="inherit" mb={{xs: 1, md: 0}} sx={(theme) => navbarRow(theme, {isMini})}>
|
||||||
<Breadcrumbs icon="home" title={route[route.length - 1]} route={route} light={light} />
|
<Breadcrumbs icon="home" title={breadcrumbTitle} route={route} light={light} />
|
||||||
<IconButton sx={navbarDesktopMenu} onClick={handleMiniSidenav} size="small" disableRipple>
|
<IconButton sx={navbarDesktopMenu} onClick={handleMiniSidenav} size="small" disableRipple>
|
||||||
<Icon fontSize="medium" sx={iconsStyle}>
|
<Icon fontSize="medium" sx={iconsStyle}>
|
||||||
{miniSidenav ? "menu_open" : "menu"}
|
{miniSidenav ? "menu_open" : "menu"}
|
||||||
|
@ -32,7 +32,6 @@ import MDButton from "components/MDButton";
|
|||||||
// Material Dashboard 2 PRO React TS examples components
|
// Material Dashboard 2 PRO React TS examples components
|
||||||
import DashboardLayout from "examples/LayoutContainers/DashboardLayout";
|
import DashboardLayout from "examples/LayoutContainers/DashboardLayout";
|
||||||
import DashboardNavbar from "examples/Navbars/DashboardNavbar";
|
import DashboardNavbar from "examples/Navbars/DashboardNavbar";
|
||||||
import Footer from "examples/Footer";
|
|
||||||
|
|
||||||
// ProcessRun layout schemas for form and form fields
|
// ProcessRun layout schemas for form and form fields
|
||||||
import * as Yup from "yup";
|
import * as Yup from "yup";
|
||||||
@ -52,6 +51,7 @@ import QClient from "qqq/utils/QClient";
|
|||||||
import {CircularProgress} from "@mui/material";
|
import {CircularProgress} from "@mui/material";
|
||||||
import QDynamicForm from "../../components/QDynamicForm";
|
import QDynamicForm from "../../components/QDynamicForm";
|
||||||
import MDTypography from "../../../components/MDTypography";
|
import MDTypography from "../../../components/MDTypography";
|
||||||
|
import Footer from "examples/Footer";
|
||||||
|
|
||||||
function logFormValidations(prefix: string, formValidations: any)
|
function logFormValidations(prefix: string, formValidations: any)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user