toast dismiss

This commit is contained in:
Drew Ansbacher
2021-09-01 11:41:11 -06:00
committed by Aiden McClelland
parent e9faf1f74d
commit 06f0097961

View File

@@ -136,6 +136,8 @@ export class AppComponent {
this.showMenu = false
this.patch.stop()
this.storage.clear()
if (this.errToast) this.errToast.dismiss()
if (this.offlineToast) this.offlineToast.dismiss()
this.router.navigate(['/login'], { replaceUrl: true })
}
})