feat: offline notice

This commit is contained in:
Thea Schöbl
2023-02-13 12:19:35 +00:00
committed by Rainer Killinger
parent 11d1ac3f7c
commit 9b4caf526f
29 changed files with 548 additions and 106 deletions

View File

@@ -229,13 +229,7 @@ export class SearchPageComponent implements OnInit, OnDestroy {
})();
}
} catch (error) {
const alert: HTMLIonAlertElement = await this.alertController.create({
buttons: ['Dismiss'],
header: 'Error',
subHeader: (error as Error).message,
});
await alert.present();
this.logger.error(error);
} finally {
this.loading = false;
}