Skip to content

Commit

Permalink
Always use new component for Dockstore.YML workflows (#969)
Browse files Browse the repository at this point in the history
  • Loading branch information
garyluu authored Apr 27, 2020
1 parent b4d3add commit d6a6ebd
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/app/workflow/workflow.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -248,10 +248,7 @@ <h3>
<ng-container *ngTemplateOutlet="hostedComponent"></ng-container>
</div>
<div *ngSwitchCase="WorkflowModel.ModeEnum.DOCKSTOREYML">
<!-- For old languages, we use the old files component because it's well tested, for new unknown languages, use the new component -->
<div *ngIf="oldLanguages.includes(workflow.descriptorType); else newComponent" class="p-3">
<ng-container *ngTemplateOutlet="oldComponent"></ng-container>
</div>
<ng-container *ngTemplateOutlet="newComponent"></ng-container>
</div>
<div *ngSwitchCase="WorkflowModel.ModeEnum.FULL">
<!-- For old languages, we use the old files component because it's well tested, for new unknown languages, use the new component -->
Expand Down

0 comments on commit d6a6ebd

Please sign in to comment.