mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +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:
@@ -10,6 +10,7 @@
|
||||
</adf-toolbar-title>
|
||||
</adf-toolbar>
|
||||
<adf-document-list
|
||||
#customSourcesDocumentList
|
||||
[currentFolderId]="selectedSource"
|
||||
locationFormat="/files"
|
||||
selectionMode="multiple">
|
||||
|
@@ -27,7 +27,7 @@ export class CustomSourcesComponent {
|
||||
@Input()
|
||||
selectedSource = '-recent-';
|
||||
|
||||
@ViewChild(DocumentListComponent)
|
||||
@ViewChild('customSourcesDocumentList')
|
||||
documentList: DocumentListComponent;
|
||||
|
||||
sources = [
|
||||
|
@@ -141,7 +141,7 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
|
||||
@ViewChild('documentList')
|
||||
documentList: DocumentListComponent;
|
||||
|
||||
@ViewChild(PaginationComponent)
|
||||
@ViewChild('standardPagination')
|
||||
standardPagination: PaginationComponent;
|
||||
|
||||
permissionsStyle: PermissionStyleModel[] = [];
|
||||
|
Reference in New Issue
Block a user