- 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;
}