@lesterarte/sefin-ui 0.0.81 → 0.0.82
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.
|
@@ -6791,8 +6791,11 @@ class TableComponent {
|
|
|
6791
6791
|
else if (page !== undefined && page < 1) {
|
|
6792
6792
|
this.currentPage.set(1);
|
|
6793
6793
|
}
|
|
6794
|
+
// OnPush: ensure view updates when parent syncs page (e.g. server-side, navigating back to cached page).
|
|
6795
|
+
this.cdr.markForCheck();
|
|
6794
6796
|
}
|
|
6795
|
-
if (changes['data']
|
|
6797
|
+
if (changes['data']) {
|
|
6798
|
+
// OnPush: ensure view updates when parent passes new data (e.g. new reference when navigating back to cached page).
|
|
6796
6799
|
this.cdr.markForCheck();
|
|
6797
6800
|
}
|
|
6798
6801
|
if (changes['columns'] || changes['data']) {
|