fix: logo style.

fix: page forms style.
feat: auto-fill items entries from item details.
fix: hiding dashboard copyright bar.
This commit is contained in:
a.bouhuolia
2021-02-25 10:51:27 +02:00
parent 5a58e9bafd
commit 9e2c995813
84 changed files with 1019 additions and 682 deletions

View File

@@ -11,6 +11,7 @@ function DashboardPage({
backLink,
sidebarShrink,
Component,
name,
// #withDashboardActions
changePageTitle,
@@ -44,6 +45,15 @@ function DashboardPage({
};
}, [resetSidebarPreviousExpand, sidebarShrink, setSidebarShrink]);
useEffect(() => {
const className = `page-${name}`;
name && document.body.classList.add(className);
return () => {
name && document.body.classList.remove(className);
};
}, [name]);
return (
<div className={CLASSES.DASHBOARD_PAGE}>
<Suspense fallback={''}>