mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-20 16:42:56 +00:00
feat: add HeBIS HDS search
This commit is contained in:
committed by
Jovan Krunić
parent
e4165901bb
commit
9a3241c42a
@@ -182,6 +182,9 @@ import {TitleCardComponent} from './elements/title-card.component';
|
||||
SkeletonSimpleCardComponent,
|
||||
SearchPageComponent,
|
||||
SimpleDataListComponent,
|
||||
ArticleDetailContentComponent,
|
||||
OriginDetailComponent,
|
||||
FavoriteButtonComponent,
|
||||
],
|
||||
})
|
||||
export class DataModule {}
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user