From 689b449d7a1de4dcb30536d11a37d8625963949b Mon Sep 17 00:00:00 2001 From: Drew Ansbacher Date: Mon, 10 Jan 2022 12:28:16 -0700 Subject: [PATCH] intialize setup wizard with no routing (#1047) Co-authored-by: Drew Ansbacher --- setup-wizard/src/app/app-routing.module.ts | 1 + setup-wizard/src/app/services/api/mock-api.service.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/setup-wizard/src/app/app-routing.module.ts b/setup-wizard/src/app/app-routing.module.ts index aeeb38be1..846a2dd58 100644 --- a/setup-wizard/src/app/app-routing.module.ts +++ b/setup-wizard/src/app/app-routing.module.ts @@ -41,6 +41,7 @@ const routes: Routes = [ scrollPositionRestoration: 'enabled', preloadingStrategy: PreloadAllModules, useHash: true, + initialNavigation: 'disabled', }), ], exports: [RouterModule], diff --git a/setup-wizard/src/app/services/api/mock-api.service.ts b/setup-wizard/src/app/services/api/mock-api.service.ts index c96f7ea5c..f9b609763 100644 --- a/setup-wizard/src/app/services/api/mock-api.service.ts +++ b/setup-wizard/src/app/services/api/mock-api.service.ts @@ -18,7 +18,7 @@ export class MockApiService extends ApiService { async getStatus () { await pauseFor(1000) return { - 'product-key': false, + 'product-key': true, migrating: false, } }