Commits
Tim Donohue authored e6a3c2878cd
136 136 | } |
137 137 | |
138 138 | /** |
139 139 | * Initialize the component |
140 140 | */ |
141 141 | ngOnInit(): void { |
142 142 | const resourceType: ResourceType = (this.isListOfEPerson) ? EPERSON : GROUP; |
143 143 | const lazyProvider$: Observable<EPersonDataService | GroupDataService> = lazyDataService(this.dataServiceMap, resourceType.value, this.parentInjector); |
144 144 | lazyProvider$.subscribe((dataService: EPersonDataService | GroupDataService) => { |
145 145 | this.dataService = dataService; |
146 - | console.log(dataService); |
147 146 | this.paginationOptions.id = uniqueId('egl'); |
148 147 | this.paginationOptions.pageSize = 5; |
149 148 | |
150 149 | if (this.initSelected) { |
151 150 | this.entrySelectedId.next(this.initSelected); |
152 151 | } |
153 152 | |
154 153 | this.updateList(this.currentSearchScope, this.currentSearchQuery); |
155 154 | }); |
156 155 | } |