correctly using the latest data for table.

This commit is contained in:
Jason Kulatunga
2022-06-11 11:00:00 -07:00
parent 3c9e16169e
commit 75d5930835
4 changed files with 47 additions and 1 deletions
@@ -291,7 +291,7 @@ export class DetailComponent implements OnInit, AfterViewInit, OnDestroy {
if(smart_results.length == 0){
return smartAttributeDataSource
}
var latest_smart_result = smart_results[smart_results.length -1];
var latest_smart_result = smart_results[0];
let attributes = {}
if(this.isScsi()) {
this.smartAttributeTableColumns = ['status', 'name', 'value', 'thresh', 'history'];