@esfaenza/core 15.2.126 → 15.2.128
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/components/base/embedding.component.d.ts +1 -0
- package/esm2020/components/base/embedding.component.mjs +8 -3
- package/esm2020/directives/es-routerLink/es-routerLink.directive.mjs +2 -2
- package/esm2020/lib/app.component.mjs +2 -2
- package/fesm2015/esfaenza-core-components.mjs +7 -2
- package/fesm2015/esfaenza-core-components.mjs.map +1 -1
- package/fesm2015/esfaenza-core-directives.mjs +1 -1
- package/fesm2015/esfaenza-core-directives.mjs.map +1 -1
- package/fesm2015/esfaenza-core.mjs +2 -2
- package/fesm2015/esfaenza-core.mjs.map +1 -1
- package/fesm2020/esfaenza-core-components.mjs +7 -2
- package/fesm2020/esfaenza-core-components.mjs.map +1 -1
- package/fesm2020/esfaenza-core-directives.mjs +1 -1
- package/fesm2020/esfaenza-core-directives.mjs.map +1 -1
- package/fesm2020/esfaenza-core.mjs +2 -2
- package/fesm2020/esfaenza-core.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1068,12 +1068,17 @@ class EmbeddingComponent extends BaseComponent {
|
|
|
1068
1068
|
constructor(injector) {
|
|
1069
1069
|
super(injector);
|
|
1070
1070
|
this.injector = injector;
|
|
1071
|
+
// TODO: Automatizzare
|
|
1072
|
+
this.LocalhostModuleMap = {
|
|
1073
|
+
"crm": "31813"
|
|
1074
|
+
};
|
|
1071
1075
|
this.EmbeddingSuccesfull = true;
|
|
1072
1076
|
}
|
|
1073
1077
|
ngOnInit() {
|
|
1078
|
+
debugger;
|
|
1074
1079
|
let route = this.injector.get(ActivatedRoute);
|
|
1075
|
-
this.Module = route.snapshot.
|
|
1076
|
-
this.Localhost =
|
|
1080
|
+
this.Module = route.snapshot.params["module"];
|
|
1081
|
+
this.Localhost = this.LocalhostModuleMap[this.Module];
|
|
1077
1082
|
route.url.subscribe((_) => {
|
|
1078
1083
|
this.gatherRouteInformations(route);
|
|
1079
1084
|
if (this.Page) {
|