diff --git a/diagnostic-ui/src/app/pages/home/home.page.html b/diagnostic-ui/src/app/pages/home/home.page.html index 8980af238..eee55384e 100644 --- a/diagnostic-ui/src/app/pages/home/home.page.html +++ b/diagnostic-ui/src/app/pages/home/home.page.html @@ -1,6 +1,6 @@
- +

EmbassyOS - Diagnostic Mode

EmbassyOS launch error:

@@ -18,7 +18,7 @@
- {{ error.code === 15 ? 'Use Current Drive' : 'Enter Recovery Mode' }} + {{ error.code === 15 ? 'Setup Current Drive' : 'Enter Recovery Mode' }}
diff --git a/diagnostic-ui/src/app/pages/home/home.page.ts b/diagnostic-ui/src/app/pages/home/home.page.ts index 1fdcb8826..334de6e62 100644 --- a/diagnostic-ui/src/app/pages/home/home.page.ts +++ b/diagnostic-ui/src/app/pages/home/home.page.ts @@ -15,7 +15,6 @@ export class HomePage { } = { } as any solutions: string[] = [] restarted = false - forgotten = false constructor ( private readonly loadingCtrl: LoadingController, @@ -84,7 +83,8 @@ export class HomePage { try { await this.api.forgetDrive() - this.forgotten = true + await this.api.restart() + this.restarted = true } catch (e) { console.error(e) } finally {