mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[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:
@@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user