Skip to content
This repository has been archived by the owner on Jul 23, 2019. It is now read-only.

Commit

Permalink
fix(dep-checker): calls dep editor component only if it's enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
invincibleJai committed Aug 1, 2018
1 parent 9bf5599 commit d6ef70d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<div>
<div class="container-fluid container-cards-pf">
<div class="row row-dep-editor">
<div class="col-xs-12">
<div class="col-xs-12" *ngIf="depEditorFlag">
<app-dependency-editor [blankResponse]="blankResponse" [boosterInfo]="boosterInfo && boosterInfo" [githubUrl]="github && github" [githubRef]="gitref && gitref" [metadataInfo]="metadataInfo && metadataInfo"
(depSnapshot)="pickDependencies($event)" [broadcaster]="broadcaster && broadcaster" (emitMetadata)="pickMetadata($event)" (navId)="navToStep($event)"></app-dependency-editor>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import { broadcast } from '../../shared/telemetry.decorator';
})
export class DependencyEditorCreateappStepComponent extends LauncherStep implements OnInit, OnDestroy, DoCheck {
@Input() id: string;
@Input() depEditorFlag: boolean;

public github: string = '';
public gitref: string = '';
Expand Down
1 change: 1 addition & 0 deletions src/app/launcher/launcher.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
<f8launcher-dependencychecker-createapp-step
[hidden]="flow === 'launch' || depEditorFlag !== true"
[id]="'SelectDependencies'"
[depEditorFlag]="depEditorFlag"
[styleClass]="'select-dependencies'"
[title]="'Select Dependencies'">
</f8launcher-dependencychecker-createapp-step>
Expand Down

0 comments on commit d6ef70d

Please sign in to comment.