From d3b95405db4bccd263d71d7a730a0b373b605ef4 Mon Sep 17 00:00:00 2001 From: Drew Ansbacher Date: Fri, 7 Jan 2022 13:15:48 -0700 Subject: [PATCH] diagnostic (#1027) Co-authored-by: Drew Ansbacher --- diagnostic-ui/src/app/pages/home/home.page.html | 4 ++-- diagnostic-ui/src/app/pages/home/home.page.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 {