[no-issue] remove viewChildren use (#3116)

* remove viewChildren component use in lib and demoshell

* Update trashcan.component.ts

* Update trashcan.component.ts
This commit is contained in:
Eugenio Romano
2018-03-23 10:06:59 +00:00
committed by GitHub
parent 12f29d5524
commit 812c7be6f6
25 changed files with 37 additions and 27 deletions

View File

@@ -32,11 +32,11 @@ import { DocumentListComponent } from '@alfresco/adf-content-services';
})
export class TrashcanComponent {
@ViewChild(DocumentListComponent)
documentList;
@ViewChild('documentList')
documentList: DocumentListComponent;
refresh() {
this.documentList.loadTrashcan();
this.documentList.reload();
this.documentList.resetSelection();
}