@smartbit4all/ng-client 5.0.10 → 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.
|
@@ -7434,6 +7434,16 @@ class Table {
|
|
|
7434
7434
|
ngOnInit() {
|
|
7435
7435
|
if (this.smartTable.sortable)
|
|
7436
7436
|
this.sortEvent = new Subject();
|
|
7437
|
+
const origRenderRows = this.myTableChild.renderRows.bind(this.myTableChild);
|
|
7438
|
+
this.myTableChild.renderRows = () => {
|
|
7439
|
+
try {
|
|
7440
|
+
origRenderRows();
|
|
7441
|
+
}
|
|
7442
|
+
catch (error) {
|
|
7443
|
+
console.error('Table rendering error: ', error);
|
|
7444
|
+
this.smartTable.tableRows = [...this.smartTable.tableRows];
|
|
7445
|
+
}
|
|
7446
|
+
};
|
|
7437
7447
|
}
|
|
7438
7448
|
ngOnDestroy() {
|
|
7439
7449
|
this._destroy$.next();
|
|
@@ -7912,7 +7922,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImpor
|
|
|
7912
7922
|
type: Component,
|
|
7913
7923
|
args: [{
|
|
7914
7924
|
template: '',
|
|
7915
|
-
standalone: false
|
|
7925
|
+
standalone: false,
|
|
7916
7926
|
}]
|
|
7917
7927
|
}], ctorParameters: () => [{ type: ComponentFactoryService }], propDecorators: { triggers: [{
|
|
7918
7928
|
type: ViewChildren,
|