diff --git a/projects/ngx-launcher/src/lib/components/gitprovider-step/gitprovider-step.component.html b/projects/ngx-launcher/src/lib/components/gitprovider-step/gitprovider-step.component.html index 7dc5253d..af3b1a09 100644 --- a/projects/ngx-launcher/src/lib/components/gitprovider-step/gitprovider-step.component.html +++ b/projects/ngx-launcher/src/lib/components/gitprovider-step/gitprovider-step.component.html @@ -94,7 +94,7 @@

Authorized Account Information

- Detected Runtime + {{ !isRuntimeDetected ? 'Detecting Runtime' : 'Detected Runtime' }}

diff --git a/projects/ngx-launcher/src/lib/components/gitprovider-step/gitprovider-step.component.spec.ts b/projects/ngx-launcher/src/lib/components/gitprovider-step/gitprovider-step.component.spec.ts index f6d5a47a..0ca9b5b5 100644 --- a/projects/ngx-launcher/src/lib/components/gitprovider-step/gitprovider-step.component.spec.ts +++ b/projects/ngx-launcher/src/lib/components/gitprovider-step/gitprovider-step.component.spec.ts @@ -147,6 +147,7 @@ describe('GitProviderStepComponent', () => { const gitRepoDropdown = element. querySelector('#gitRt'); expect(gitRepoDropdown.innerHTML).toContain('test'); + component.isRuntimeDetected = true; expect(component.completed).toBe(true); }); })); diff --git a/projects/ngx-launcher/src/lib/components/gitprovider-step/gitprovider-step.component.ts b/projects/ngx-launcher/src/lib/components/gitprovider-step/gitprovider-step.component.ts index f51aa719..5e4b330c 100644 --- a/projects/ngx-launcher/src/lib/components/gitprovider-step/gitprovider-step.component.ts +++ b/projects/ngx-launcher/src/lib/components/gitprovider-step/gitprovider-step.component.ts @@ -113,6 +113,9 @@ export class GitproviderStepComponent extends LauncherStep implements AfterViewI * @returns {boolean} True if step is completed */ get completed(): boolean { + if (this.import) { + return this.form.valid && this.isRuntimeDetected; + } return this.form.valid; }