nuxeo-development-framework 3.6.5 → 3.6.6
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.
- package/bundles/nuxeo-development-framework.umd.js +10 -8
- package/bundles/nuxeo-development-framework.umd.js.map +1 -1
- package/esm2015/lib/components/latest-activity/components/latest-activity/latest-activity.component.js +11 -9
- package/fesm2015/nuxeo-development-framework.js +10 -8
- package/fesm2015/nuxeo-development-framework.js.map +1 -1
- package/lib/components/latest-activity/components/latest-activity/latest-activity.component.d.ts +1 -2
- package/package.json +1 -1
|
@@ -19819,9 +19819,9 @@
|
|
|
19819
19819
|
// this.getActivities();
|
|
19820
19820
|
};
|
|
19821
19821
|
LatestActivityComponent.prototype.ngOnChanges = function (changes) {
|
|
19822
|
-
this.getActivities();
|
|
19822
|
+
this.getActivities(false);
|
|
19823
19823
|
};
|
|
19824
|
-
LatestActivityComponent.prototype.getActivities = function () {
|
|
19824
|
+
LatestActivityComponent.prototype.getActivities = function (fromInifintScroll) {
|
|
19825
19825
|
var _this = this;
|
|
19826
19826
|
this.isFetching = true;
|
|
19827
19827
|
this.activityLogSer
|
|
@@ -19830,7 +19830,9 @@
|
|
|
19830
19830
|
// pageSize: this.count,
|
|
19831
19831
|
})
|
|
19832
19832
|
.subscribe(function (data) {
|
|
19833
|
-
|
|
19833
|
+
if (!fromInifintScroll) {
|
|
19834
|
+
_this.activitylog = [];
|
|
19835
|
+
}
|
|
19834
19836
|
var i = 1;
|
|
19835
19837
|
data.entries.map(function (item) {
|
|
19836
19838
|
i++;
|
|
@@ -19844,13 +19846,13 @@
|
|
|
19844
19846
|
// this.success.emit(false);
|
|
19845
19847
|
});
|
|
19846
19848
|
};
|
|
19847
|
-
|
|
19848
|
-
|
|
19849
|
-
|
|
19850
|
-
}
|
|
19849
|
+
// onChangePagination(e) {
|
|
19850
|
+
// this.p = e;
|
|
19851
|
+
// this.getActivities();
|
|
19852
|
+
// }
|
|
19851
19853
|
LatestActivityComponent.prototype.onScroll = function () {
|
|
19852
19854
|
this.p++;
|
|
19853
|
-
this.getActivities();
|
|
19855
|
+
this.getActivities(true);
|
|
19854
19856
|
};
|
|
19855
19857
|
return LatestActivityComponent;
|
|
19856
19858
|
}());
|