wiz error on setup dont go to next page

This commit is contained in:
Drew Ansbacher
2021-11-02 15:14:24 -06:00
committed by Aiden McClelland
parent 70ceb82d6e
commit 7d5053024f

View File

@@ -92,17 +92,17 @@ export class EmbassyPage {
try {
await this.stateService.setupEmbassy()
if (!!this.stateService.recoveryPartition) {
await this.navCtrl.navigateForward(`/loading`)
} else {
await this.navCtrl.navigateForward(`/init`)
}
} catch (e) {
this.errorToastService.present(`${e.message}: ${e.details}`)
console.error(e.message)
console.error(e.details)
} finally {
loader.dismiss()
if (!!this.stateService.recoveryPartition) {
await this.navCtrl.navigateForward(`/loading`)
} else {
await this.navCtrl.navigateForward(`/init`)
}
}
})
await modal.present()