mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +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() {
|
async ngOnInit() {
|
||||||
await this.stateService.getState()
|
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
|
//redirect to embassyOS
|
||||||
} else if (this.stateService.recoveryDrive) {
|
} else if (this.stateService.recoveryDrive) {
|
||||||
await this.navCtrl.navigateForward(`/recover`)
|
await this.navCtrl.navigateForward(`/recover`)
|
||||||
|
|||||||
Reference in New Issue
Block a user