mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-2629] Fix infinite pagination and e2e parallel task (#3691)
* change infinite pagination logic make merge in share adapter a real merge * missing semi column * type problem * fix pagination infinite test * tentative file detector * add other remote files for webdriver * parallel execution test * fix refresh browser e2e * missing driver remote in util
This commit is contained in:
committed by
Eugenio Romano
parent
2602879cba
commit
83b2857097
@@ -234,7 +234,15 @@ export class ShareDataTableAdapter implements DataTableAdapter {
|
||||
}
|
||||
|
||||
if (merge) {
|
||||
this.rows = this.rows.concat(rows);
|
||||
let listPrunedDuplicate = rows.filter((elemntToFilter) => {
|
||||
let isPresent = this.rows.find((currenRow: any) => {
|
||||
return currenRow.obj.entry.id === elemntToFilter.obj.entry.id;
|
||||
});
|
||||
|
||||
return !isPresent;
|
||||
});
|
||||
|
||||
this.rows = this.rows.concat(listPrunedDuplicate);
|
||||
} else {
|
||||
this.rows = rows;
|
||||
}
|
||||
|
Reference in New Issue
Block a user