@esfaenza/extensions 15.2.59 → 15.2.60
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.
|
@@ -1082,10 +1082,10 @@ class AppEmbeddingExtensions {
|
|
|
1082
1082
|
// Mi interessa solo roba relativa all'embedding
|
|
1083
1083
|
if (!event.data.routerLink.startsWith("embed"))
|
|
1084
1084
|
return;
|
|
1085
|
-
// emb/crm/parties/parties_search?blabla --> parties/parties_search
|
|
1086
|
-
let normalizedRequestedRoute = event.data.routerLink.split("?")[0].split("/").slice(2).join("/");
|
|
1087
|
-
///pages_ext/{module}/parties/parties_search?blabla --> parties/parties_search
|
|
1088
|
-
let normalizedFirstRoute = this.pushedHistories.length > 0 ? this.pushedHistories[0].from.split("?")[0].split("/").slice(3).join("/") : "";
|
|
1085
|
+
// emb/crm/parties/parties_search;blabla=xyz?blabla --> parties/parties_search
|
|
1086
|
+
let normalizedRequestedRoute = event.data.routerLink.split("?")[0].split(";")[0].split("/").slice(2).join("/");
|
|
1087
|
+
///pages_ext/{module}/parties/parties_search;blabla=xyz?blabla --> parties/parties_search
|
|
1088
|
+
let normalizedFirstRoute = this.pushedHistories.length > 0 ? this.pushedHistories[0].from.split("?")[0].split(";")[0].split("/").slice(3).join("/") : "";
|
|
1089
1089
|
// La route su cui sto navigando ora è uguale alla route in cui l'embedding è iniziato.
|
|
1090
1090
|
// Significa che devo simulare dei back fino a che non sono arrivato all'inizio
|
|
1091
1091
|
if (normalizedRequestedRoute == normalizedFirstRoute) {
|