@esfaenza/core 19.2.76 → 19.2.77

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.
@@ -1063,11 +1063,11 @@ class BaseComponent extends ReactiveComponent {
1063
1063
  this._emb.MainWindow.postMessage({ type: "navigation", url: this.CompletePath, internalNavigation: this.InternalNavigation, title: this.NavigationTitle }, "*");
1064
1064
  }
1065
1065
  gatherRouteInformations(segs, data) {
1066
- this.CompletePath = "/" + segs.map(t => t.path).join('/');
1067
- this.ComponentPath = "/" + segs.filter((t, i) => i != 0).map(t => t.path).join('/');
1068
- this.BasePath = "/" + segs[0].path;
1069
- this.InternalNavigation = data["internalNavigation"] || false;
1070
- this.NavigationTitle = data["title"] || "";
1066
+ this.CompletePath = "/" + segs?.map(t => t.path)?.join('/');
1067
+ this.ComponentPath = "/" + segs?.filter((t, i) => i != 0)?.map(t => t.path)?.join('/');
1068
+ this.BasePath = "/" + segs?.[0]?.path;
1069
+ this.InternalNavigation = data?.["internalNavigation"] || false;
1070
+ this.NavigationTitle = data?.["title"] || "";
1071
1071
  }
1072
1072
  navigate(command, extras) {
1073
1073
  let commands = command;