Commits
Jens Vannerum authored eb153681973
199 199 | ngOnInit(): void { |
200 200 | this.subs.push( |
201 201 | this.vocabularyTreeviewService.getData().subscribe((data) => { |
202 202 | this.dataSource.data = data; |
203 203 | }) |
204 204 | ); |
205 205 | |
206 206 | this.translate.get(`search.filters.filter.${this.vocabularyOptions.name}.head`).pipe( |
207 207 | map((type) => lowerCase(type)), |
208 208 | ).subscribe( |
209 - | (type) => this.description = this.translate.get('okr-vocabulary-treeview.info', { type }) |
209 + | (type) => this.description = this.translate.get('vocabulary-treeview.info', { type }) |
210 210 | ); |
211 211 | |
212 212 | this.loading = this.vocabularyTreeviewService.isLoading(); |
213 213 | |
214 214 | this.vocabularyTreeviewService.initialize(this.vocabularyOptions, new PageInfo(), null); |
215 215 | } |
216 216 | |
217 217 | /** |
218 218 | * Expand a node whose children are not loaded |
219 219 | * @param item The VocabularyEntryDetail for which to load more nodes |