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

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