From c8740b09be7a41896a8f451b351b27293383abf4 Mon Sep 17 00:00:00 2001 From: Drew Ansbacher Date: Tue, 29 Jun 2021 17:39:44 -0600 Subject: [PATCH] if not selected data drive --- setup-wizard/src/app/app.component.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup-wizard/src/app/app.component.ts b/setup-wizard/src/app/app.component.ts index 08eff5898..09dbd0573 100644 --- a/setup-wizard/src/app/app.component.ts +++ b/setup-wizard/src/app/app.component.ts @@ -25,7 +25,9 @@ export class AppComponent { async ngOnInit() { await this.stateService.getState() - if(this.stateService.hasPassword) { + if (!this.stateService.selectedDataDrive) { + await this.navCtrl.navigateForward(`/wizard`) + } else if(this.stateService.hasPassword) { //redirect to embassyOS } else if (this.stateService.recoveryDrive) { await this.navCtrl.navigateForward(`/recover`)