@umbraco-cms/backoffice 14.0.0--preview004-bf106bcf → 14.0.0--preview004-8c805dfd

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.
@@ -17,7 +17,7 @@ let UmbBackofficeMainElement = class UmbBackofficeMainElement extends UmbLitElem
17
17
  this._routePrefix = 'section/';
18
18
  this._onRouteChange = async (event) => {
19
19
  const currentPath = event.target.localActiveViewPath || '';
20
- const section = this._sections.find((s) => this._routePrefix + s.manifest.meta.pathname === currentPath);
20
+ const section = this._sections.find((s) => this._routePrefix + s.manifest?.meta.pathname === currentPath);
21
21
  if (!section)
22
22
  return;
23
23
  await section.asPromise();