mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 18:31:52 +00:00
if not selected data drive
This commit is contained in:
committed by
Aiden McClelland
parent
834abdc330
commit
d2e95c71ba
@@ -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`)
|
||||
|
||||
Reference in New Issue
Block a user