minor dashboard agregation history fix
This commit is contained in:
parent
0680cf8c55
commit
a1e8dcd5a0
|
@ -732,7 +732,7 @@ export class BrokerSummary {
|
||||||
}
|
}
|
||||||
|
|
||||||
export class CollectionMonitorSummary {
|
export class CollectionMonitorSummary {
|
||||||
aggregationDetails: AggregationDetails[];
|
aggregationInfo: AggregationDetails[];
|
||||||
lastIndexedVersion: AggregationDetails;
|
lastIndexedVersion: AggregationDetails;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -199,7 +199,7 @@ export class DashboardComponent implements OnInit, OnDestroy {
|
||||||
|
|
||||||
getCollectionMonitorSummary(collectionMonitorSummary: CollectionMonitorSummary) {
|
getCollectionMonitorSummary(collectionMonitorSummary: CollectionMonitorSummary) {
|
||||||
|
|
||||||
this.latestAggregations = collectionMonitorSummary.aggregationDetails;
|
this.latestAggregations = collectionMonitorSummary.aggregationInfo;
|
||||||
this.lastIndexedVersion = collectionMonitorSummary.lastIndexedVersion;
|
this.lastIndexedVersion = collectionMonitorSummary.lastIndexedVersion;
|
||||||
|
|
||||||
if ( !this.latestAggregations || (this.latestAggregations.length === 0) ) {
|
if ( !this.latestAggregations || (this.latestAggregations.length === 0) ) {
|
||||||
|
|
Loading…
Reference in New Issue