@smartbit4all/ng-client 5.0.11 → 5.0.12

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.
@@ -7430,6 +7430,10 @@ class Table {
7430
7430
  this.onSelectionChanged = new Subject();
7431
7431
  this.asyncTranslationResult = (translator, param) => translator(param);
7432
7432
  this.ACTION_SEPERATOR = '_actionSeparator_';
7433
+ }
7434
+ ngOnInit() {
7435
+ if (this.smartTable.sortable)
7436
+ this.sortEvent = new Subject();
7433
7437
  const origRenderRows = this.myTableChild.renderRows.bind(this.myTableChild);
7434
7438
  this.myTableChild.renderRows = () => {
7435
7439
  try {
@@ -7441,10 +7445,6 @@ class Table {
7441
7445
  }
7442
7446
  };
7443
7447
  }
7444
- ngOnInit() {
7445
- if (this.smartTable.sortable)
7446
- this.sortEvent = new Subject();
7447
- }
7448
7448
  ngOnDestroy() {
7449
7449
  this._destroy$.next();
7450
7450
  this._destroy$.complete();