mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
not reload if currentfolderId is null
This commit is contained in:
@@ -85,7 +85,7 @@ describe('Document List Component - Actions', () => {
|
||||
done();
|
||||
});
|
||||
|
||||
it('[C213257] Should be able to copy a file', () => {
|
||||
fit('[C213257] Should be able to copy a file', () => {
|
||||
browser.driver.sleep(15000);
|
||||
|
||||
contentListPage.rightClickOnRowNamed(pdfUploadedNode.entry.name);
|
||||
|
@@ -224,8 +224,10 @@ export class DocumentListComponent implements OnInit, OnChanges, OnDestroy, Afte
|
||||
this.data.loadPage(null, false);
|
||||
}
|
||||
|
||||
this.resetNewFolderPagination();
|
||||
this.loadFolder();
|
||||
if (this._currentFolderId) {
|
||||
this.resetNewFolderPagination();
|
||||
this.loadFolder();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user