correctly using the latest data for table.
This commit is contained in:
@@ -291,7 +291,7 @@ export class DetailComponent implements OnInit, AfterViewInit, OnDestroy {
|
|||||||
if(smart_results.length == 0){
|
if(smart_results.length == 0){
|
||||||
return smartAttributeDataSource
|
return smartAttributeDataSource
|
||||||
}
|
}
|
||||||
var latest_smart_result = smart_results[0];
|
var latest_smart_result = smart_results[smart_results.length -1];
|
||||||
let attributes = {}
|
let attributes = {}
|
||||||
if(this.isScsi()) {
|
if(this.isScsi()) {
|
||||||
this.smartAttributeTableColumns = ['status', 'name', 'value', 'thresh', 'history'];
|
this.smartAttributeTableColumns = ['status', 'name', 'value', 'thresh', 'history'];
|
||||||
|
|||||||
Reference in New Issue
Block a user