Skip to content

Commit

Permalink
Add view-data functionality to scenario-new
Browse files Browse the repository at this point in the history
  • Loading branch information
anamileva committed Aug 5, 2019
1 parent cd5ab2d commit af4c2d8
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 50 deletions.
6 changes: 5 additions & 1 deletion ui/src/app/scenario-new/scenario-new.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,13 @@ <h2><span>New Scenario: </span>{{newScenarioForm.value.scenarioName}}</h2>
</ng-container>
</table>

<ng-container *ngFor="let tbl of ScenarioNewStructure">
<ng-container *ngFor="let tbl of scenarioNewStructure">
<table class="scenario-detail">
<caption>{{tbl.tableCaption}}</caption>
<tr>
<th>Name</th>
<th>Value</th>
<th>View Data</th>
</tr>
<ng-container *ngFor="let tblRow of tbl.settingRows">
<tr>
Expand All @@ -60,6 +61,9 @@ <h2><span>New Scenario: </span>{{newScenarioForm.value.scenarioName}}</h2>
</option>
</select>
</td>
<td>
<button (click)="viewData(tblRow.rowName)">View Data</button>
</td>
</tr>
</ng-container>
</table>
Expand Down
Loading

0 comments on commit af4c2d8

Please sign in to comment.