@esfaenza/core 15.2.201 → 15.2.202

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