@etsoo/toolpad 1.0.36 → 1.0.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -96,6 +96,7 @@ function PageContainerBar(props) {
96
96
  const breadcrumbs = [...(state.breadcrumbs ?? activePage?.breadcrumbs ?? [])];
97
97
  const title = state.title ?? activePage?.title ?? "";
98
98
  const pageHeader = state.pageHeader ?? activePage?.pageHeader ?? null;
99
+ console.log("PageContainerBar", activePage?.sourcePath, title, state);
99
100
  // No page header
100
101
  if (pageHeader === false)
101
102
  return undefined;
@@ -55,6 +55,7 @@ function PageContainerBar(props) {
55
55
  const breadcrumbs = [...(state.breadcrumbs ?? activePage?.breadcrumbs ?? [])];
56
56
  const title = state.title ?? activePage?.title ?? "";
57
57
  const pageHeader = state.pageHeader ?? activePage?.pageHeader ?? null;
58
+ console.log("PageContainerBar", activePage?.sourcePath, title, state);
58
59
  // No page header
59
60
  if (pageHeader === false)
60
61
  return undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/toolpad",
3
- "version": "1.0.36",
3
+ "version": "1.0.37",
4
4
  "author": "ETSOO",
5
5
  "description": "Dashboard framework extention based on Toolpad Core",
6
6
  "main": "build/cjs/index.js",
@@ -127,6 +127,8 @@ function PageContainerBar(props: PageContainerBarProps) {
127
127
  const title = state.title ?? activePage?.title ?? "";
128
128
  const pageHeader = state.pageHeader ?? activePage?.pageHeader ?? null;
129
129
 
130
+ console.log("PageContainerBar", activePage?.sourcePath, title, state);
131
+
130
132
  // No page header
131
133
  if (pageHeader === false) return undefined;
132
134