osl-base-extended 1.1.59 → 1.1.60
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.
|
@@ -2734,6 +2734,15 @@ class OslSetup {
|
|
|
2734
2734
|
}
|
|
2735
2735
|
}
|
|
2736
2736
|
}
|
|
2737
|
+
else if (!changes['datasource'].firstChange) {
|
|
2738
|
+
// External refresh (e.g. after approve/delete via more-actions) — replace cards with fresh data
|
|
2739
|
+
const newData = changes['datasource'].currentValue ?? [];
|
|
2740
|
+
this.cardDatasource = [...newData];
|
|
2741
|
+
this.cardPage = 1;
|
|
2742
|
+
this.allCardsLoaded = newData.length === 0
|
|
2743
|
+
|| (this.totalRecords > 0 && newData.length >= this.totalRecords)
|
|
2744
|
+
|| newData.length < this._effectiveCardPageSize;
|
|
2745
|
+
}
|
|
2737
2746
|
}
|
|
2738
2747
|
else if (this._pendingScrollTop !== null) {
|
|
2739
2748
|
const ds = changes['datasource'].currentValue;
|