correctly using the latest data for table.

This commit is contained in:
Jason Kulatunga
2022-06-11 09:28:37 -07:00
parent 9e1076f302
commit 3c9e16169e
@@ -291,7 +291,7 @@ export class DetailComponent implements OnInit, AfterViewInit, OnDestroy {
if(smart_results.length == 0){
return smartAttributeDataSource
}
var latest_smart_result = smart_results[0];
var latest_smart_result = smart_results[smart_results.length -1];
let attributes = {}
if(this.isScsi()) {
this.smartAttributeTableColumns = ['status', 'name', 'value', 'thresh', 'history'];