Skip to content

Commit

Permalink
update table header and quickfix notes rows
Browse files Browse the repository at this point in the history
  • Loading branch information
rmroot committed Oct 15, 2024
1 parent ab9570c commit 6f01bf6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
<textarea class="form-control" name="notes"
id="notes"
[(ngModel)]="energyEquipment.notes"
(input)="saveChanges()"></textarea>
(input)="saveChanges()" rows="4"></textarea>
</div>
</div>
<div class="row">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
<div class="col-sm-7">
<textarea class="form-control" name="notes"
[(ngModel)]="processEquipment.notes"
(input)="saveChanges()"></textarea>
(input)="saveChanges()"
rows="4"></textarea>
</div>
</div>
</form>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ export class PerformanceMetricsChartComponent {
}

drawChart() {
let kpiReportItems: Array<KeyPerformanceIndicatorReportItem> = this.keyPerformanceIndicatorReport.kpiReportItems;
let kpiReportItems: Array<KeyPerformanceIndicatorReportItem> = this.keyPerformanceIndicatorReport.kpiReportItems.filter(kpiReportItem => {
return kpiReportItem.keyPerformanceMetric.isQuantitative
});
kpiReportItems = _.orderBy(kpiReportItems, (reportItem: KeyPerformanceIndicatorReportItem) => {
return reportItem.keyPerformanceMetric.baselineCost;
}, 'desc')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</th>
<th class="text-right" (click)="setOrderByField('percentSavings')"
[ngClass]="{'ordered-th': orderByField == 'percentSavings'}">
Savings (%)
Change (%)
</th>
</tr>
</thead>
Expand Down

0 comments on commit 6f01bf6

Please sign in to comment.