@esfaenza/core 15.2.198 → 15.2.199

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.
@@ -1318,7 +1318,11 @@ class EmbeddingComponent extends BaseComponent {
1318
1318
  ngOnInit() {
1319
1319
  debugger;
1320
1320
  let route = this.injector.get(ActivatedRoute);
1321
- this.Module = route.snapshot.params["module"];
1321
+ // 0: Vuoto
1322
+ // 1: "pages" o "pages_ext"
1323
+ // 2: Modulo
1324
+ // 3-ecc...: Path
1325
+ this.Module = this.CompletePath.split("/")[2];
1322
1326
  this.Localhost = this.LocalhostModuleMap[this.Module];
1323
1327
  route.url.subscribe((_) => {
1324
1328
  this.gatherRouteInformations(route);