@esfaenza/extensions 15.2.41 → 15.2.43

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.
@@ -977,7 +977,7 @@ class MessageService {
977
977
  postSuccess();
978
978
  }
979
979
  else {
980
- this.simpleError((errorMsg ? errorMsg + ": " : "") + (response.haserror || anyReponse.HasError) ? (response.error || anyReponse.Error) : '[NO ERR.]');
980
+ this.simpleError((errorMsg ? errorMsg + ": " : "") + ((response.haserror || anyReponse.HasError) ? (response.error || anyReponse.Error) : '[NO ERR.]'));
981
981
  if (postFailure)
982
982
  postFailure();
983
983
  }
@@ -1144,7 +1144,7 @@ class AppEmbeddingExtensions {
1144
1144
  return;
1145
1145
  }
1146
1146
  let newRelativeUrl = this.router.createUrlTree([event?.data?.url]);
1147
- let baseUrl = window.location.href.replace(this.router.url, '');
1147
+ let baseUrl = window.location.href.replace(this.router.url.replace("?ignoreStorage=true", ''), '');
1148
1148
  let newUrl = baseUrl + decodeURIComponent(newRelativeUrl.toString());
1149
1149
  if (replaceState)
1150
1150
  history.pushState({ _pushed: true }, "", newUrl);