[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

@@ -14,5 +14,6 @@
(changedPageNumber)="onRefreshPagination($event)"
(turnedNextPage)="onRefreshPagination($event)"
(loadNext)="onRefreshPagination($event)"
(turnedPreviousPage)="onRefreshPagination($event)">
(turnedPreviousPage)="onRefreshPagination($event)"
(deleteElementSuccess)="onDeleteElementSuccess($event)">
</app-files-component>

View File

@@ -62,4 +62,8 @@ export class SearchResultComponent implements OnInit {
this.maxItems = pagination.maxItems;
this.skipCount = pagination.skipCount;
}
onDeleteElementSuccess(element: any) {
this.search.reload();
}
}