@veloceapps/sdk 8.0.0-52 → 8.0.0-53

Sign up to get free protection for your applications and to get access to all the features.
@@ -1659,6 +1659,9 @@ class ProductUnloadGuard {
1659
1659
  }
1660
1660
  // clear obsolete queryParams
1661
1661
  const urlTree = this.router.parseUrl(nextState.url);
1662
+ if (!urlTree.queryParams['productId']) {
1663
+ return true;
1664
+ }
1662
1665
  delete urlTree.queryParams['productId'];
1663
1666
  // replace url after deactivation has finished
1664
1667
  setTimeout(() => this.router.navigateByUrl(urlTree.toString(), { replaceUrl: true }));