feat: add HeBIS HDS search

This commit is contained in:
Andy Bastian
2022-01-27 14:11:35 +00:00
committed by Jovan Krunić
parent e4165901bb
commit 9a3241c42a
42 changed files with 2109 additions and 23 deletions

View File

@@ -182,6 +182,9 @@ import {TitleCardComponent} from './elements/title-card.component';
SkeletonSimpleCardComponent,
SearchPageComponent,
SimpleDataListComponent,
ArticleDetailContentComponent,
OriginDetailComponent,
FavoriteButtonComponent,
],
})
export class DataModule {}

View File

@@ -66,9 +66,9 @@ export class DataDetailComponent {
* @param translateService he translate provider
*/
constructor(
private readonly route: ActivatedRoute,
protected readonly route: ActivatedRoute,
private readonly dataProvider: DataProvider,
private readonly network: Network,
protected readonly network: Network,
private readonly favoritesService: FavoritesService,
translateService: TranslateService,
) {
@@ -125,9 +125,7 @@ export class DataDetailComponent {
* @param refresher Refresher component that triggers the update
*/
async refresh(refresher: IonRefresher) {
await this.getItem(
this.item?.uid ?? this.route.snapshot.paramMap.get('uid') ?? '',
);
await this.getItem(this.route.snapshot.paramMap.get('uid') ?? '');
await refresher.complete();
}
}