not reload if currentfolderId is null

This commit is contained in:
Eugenio Romano
2019-02-07 07:38:58 +00:00
parent 262b37b759
commit c8a1f0a4d6
2 changed files with 5 additions and 3 deletions

View File

@@ -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);

View File

@@ -224,10 +224,12 @@ export class DocumentListComponent implements OnInit, OnChanges, OnDestroy, Afte
this.data.loadPage(null, false);
}
if (this._currentFolderId) {
this.resetNewFolderPagination();
this.loadFolder();
}
}
}
get currentFolderId(): string {
return this._currentFolderId;