mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-04 14:29:45 +00:00
wiz error on setup dont go to next page
This commit is contained in:
committed by
Aiden McClelland
parent
70ceb82d6e
commit
7d5053024f
@@ -92,17 +92,17 @@ export class EmbassyPage {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
await this.stateService.setupEmbassy()
|
await this.stateService.setupEmbassy()
|
||||||
|
if (!!this.stateService.recoveryPartition) {
|
||||||
|
await this.navCtrl.navigateForward(`/loading`)
|
||||||
|
} else {
|
||||||
|
await this.navCtrl.navigateForward(`/init`)
|
||||||
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
this.errorToastService.present(`${e.message}: ${e.details}`)
|
this.errorToastService.present(`${e.message}: ${e.details}`)
|
||||||
console.error(e.message)
|
console.error(e.message)
|
||||||
console.error(e.details)
|
console.error(e.details)
|
||||||
} finally {
|
} finally {
|
||||||
loader.dismiss()
|
loader.dismiss()
|
||||||
if (!!this.stateService.recoveryPartition) {
|
|
||||||
await this.navCtrl.navigateForward(`/loading`)
|
|
||||||
} else {
|
|
||||||
await this.navCtrl.navigateForward(`/init`)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
await modal.present()
|
await modal.present()
|
||||||
|
|||||||
Reference in New Issue
Block a user