@indice/ng-components 0.2.158-beta.3 → 0.2.158-beta.4

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.
@@ -3697,7 +3697,11 @@
3697
3697
  ];
3698
3698
  // disabled external route changes monitoring due to sync issues - which is bad :) - refresh from url will not work
3699
3699
  // until i come up with a solution...
3700
- this.routeSub$ = this.route$.queryParamMap.subscribe(function (params) {
3700
+ this.routeSub$ = this.route$.queryParamMap.pipe(operators.finalize(function () {
3701
+ // just to sync params in query on subscription complete or error
3702
+ _this.setRouteParams(true);
3703
+ _this.load();
3704
+ })).subscribe(function (params) {
3701
3705
  if (params.keys.length === 0) {
3702
3706
  return;
3703
3707
  }
@@ -3725,9 +3729,6 @@
3725
3729
  _this.sortdir = params.get('dir');
3726
3730
  }
3727
3731
  });
3728
- // just to sync params in query
3729
- this.setRouteParams(true);
3730
- this.load();
3731
3732
  };
3732
3733
  BaseListComponent.prototype.setRouteParams = function (locationChange) {
3733
3734
  if (locationChange === void 0) { locationChange = false; }