[ADF-2053] improved search result adding refresh on delete (#2836)

* [ADF-2053] refreshed results when folder is deleted

* [ADF-2053] improved search result adding refresh on delete

* [ADF-2053] added missing whitespace
This commit is contained in:
Vito
2018-01-16 15:51:16 +01:00
committed by Maurizio Vitale
parent 66262c4822
commit 5d6af1af55
4 changed files with 11 additions and 1 deletions

View File

@@ -117,6 +117,9 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
@Output()
loadNext: EventEmitter<Pagination> = new EventEmitter();
@Output()
deleteElementSuccess: EventEmitter<any> = new EventEmitter();
@ViewChild(DocumentListComponent)
documentList: DocumentListComponent;
@@ -308,6 +311,7 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
onDeleteActionSuccess(message) {
this.uploadService.fileDeleted.next(message);
this.deleteElementSuccess.emit();
}
onManageVersions(event) {