@pdg/react-admin-layout 1.0.0 → 1.0.1

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.
package/dist/index.esm.js CHANGED
@@ -7472,7 +7472,7 @@ var DefaultLayout = function (_a) {
7472
7472
  var menuTitles = {};
7473
7473
  if (menu) {
7474
7474
  menu.forEach(function (info) {
7475
- if (info.items) {
7475
+ if (empty(info.uri) && info.items && info.items.length > 0) {
7476
7476
  info.items.map(function (subInfo) {
7477
7477
  menuTitles[subInfo.uri] = { name: subInfo.name, parentName: info.name };
7478
7478
  });