mirror of
https://gitlab.com/walljm/dynamicbible.git
synced 2025-07-23 15:30:14 -04:00
moved saved pages settings to settings component
show current saved page and update option only if on a saved page setup errors to show as a toast when they appear.
This commit is contained in:
parent
5ffed6453e
commit
cd0793e3a5
@ -43,9 +43,11 @@ export class AppComponent extends SubscriberComponent implements AfterViewInit {
|
||||
|
||||
this.addSubscription(
|
||||
this.error$.subscribe((err) => {
|
||||
this.snackBar.open(`Oh no! ${err.msg}`, 'Error', {
|
||||
duration: 4 * 1000,
|
||||
});
|
||||
if (err) {
|
||||
this.snackBar.open(`Oh no! ${err.msg}`, 'Error', {
|
||||
duration: 4 * 1000,
|
||||
});
|
||||
}
|
||||
})
|
||||
);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user