ontimize-web-ngx 15.3.4 → 15.3.5

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.
@@ -32702,7 +32702,10 @@ class OTableComponent extends AbstractOServiceComponent {
32702
32702
  this.permissions = this.permissionsService.getTablePermissions(this.oattr, this.actRoute);
32703
32703
  }
32704
32704
  registerClickListener() {
32705
- this.clickSubject
32705
+ if (this.clickSubjectSubscription) {
32706
+ this.clickSubjectSubscription.unsubscribe();
32707
+ }
32708
+ this.clickSubjectSubscription = this.clickSubject
32706
32709
  .pipe(debounceTime(this.clickDelay))
32707
32710
  .subscribe(({ row, column, cellRef, rowIndex, event }) => {
32708
32711
  if (this.oenabled && !this.readOnly && column.editor
@@ -32716,7 +32719,10 @@ class OTableComponent extends AbstractOServiceComponent {
32716
32719
  });
32717
32720
  }
32718
32721
  registerDblClickListener() {
32719
- this.dblclickSubject
32722
+ if (this.dbClickSubjectSubscription) {
32723
+ this.dbClickSubjectSubscription.unsubscribe();
32724
+ }
32725
+ this.dbClickSubjectSubscription = this.dblclickSubject
32720
32726
  .pipe(debounceTime(this.clickDelay))
32721
32727
  .subscribe(({ row, column, cellRef, rowIndex, event }) => {
32722
32728
  if (this.readOnly) {
@@ -32850,11 +32856,11 @@ class OTableComponent extends AbstractOServiceComponent {
32850
32856
  if (this.scrollStrategy) {
32851
32857
  this.scrollStrategy.destroy();
32852
32858
  }
32853
- if (this.clickSubject) {
32854
- this.clickSubject.unsubscribe();
32859
+ if (this.clickSubjectSubscription) {
32860
+ this.clickSubjectSubscription.unsubscribe();
32855
32861
  }
32856
- if (this.dblclickSubject) {
32857
- this.dblclickSubject.unsubscribe();
32862
+ if (this.dbClickSubjectSubscription) {
32863
+ this.dbClickSubjectSubscription.unsubscribe();
32858
32864
  }
32859
32865
  Object.keys(this.asyncLoadSubscriptions).forEach(idx => {
32860
32866
  if (this.asyncLoadSubscriptions[idx]) {