Skip to content

Commit

Permalink
Fix timeline step parameters not appearing under inputs
Browse files Browse the repository at this point in the history
Tasks without data inputs would not show input parameters under inputs.
  • Loading branch information
buehlefs committed Aug 25, 2023
1 parent 3578f8d commit ff1184c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/app/components/timeline-step/timeline-step.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,13 @@ <h2>Notes</h2>
<h2>Output</h2>
<qhana-preview-list [dataList]="timelineStep.outputData"></qhana-preview-list>
</ng-container>
<ng-container *ngIf="stepTabId === 'inputs' && timelineStep.inputData != null && timelineStep.inputData.length > 0">
<ng-container *ngIf="stepTabId === 'inputs'">
<h2>Parameters</h2>
<qhana-data-preview [data]="timelineStep"></qhana-data-preview>
<h2>Data Input</h2>
<qhana-preview-list [dataList]="timelineStep.inputData"></qhana-preview-list>
<ng-container *ngIf="(timelineStep.inputData) && timelineStep.inputData.length > 0">
<h2>Data Input</h2>
<qhana-preview-list [dataList]="timelineStep.inputData"></qhana-preview-list>
</ng-container>
</ng-container>

<ng-container *ngIf="stepTabId === 'steps' || (stepTabId === 'overview' && timelineStep.status === 'PENDING')">
Expand Down

0 comments on commit ff1184c

Please sign in to comment.