Added Instance stats to d3 and drawing container
diff --git a/views/ngXosViews/diagnostic/src/js/logicTopology.js b/views/ngXosViews/diagnostic/src/js/logicTopology.js
index 8e7e741..f6798c6 100644
--- a/views/ngXosViews/diagnostic/src/js/logicTopology.js
+++ b/views/ngXosViews/diagnostic/src/js/logicTopology.js
@@ -50,17 +50,17 @@
$rootScope.$on('instance.detail', (evt, service) => {
ChartData.getInstanceStatus(service)
.then((instances) => {
- this.hideInstanceStats = false;
- // HACK if array is empty wait for animation
- if(instances.length === 0){
- this.hideInstanceStats = true;
- $timeout(() => {
- this.selectedInstances = instances;
- }, 500);
- }
- else{
- this.selectedInstances = instances;
- }
+ // this.hideInstanceStats = false;
+ // // HACK if array is empty wait for animation
+ // if(instances.length === 0){
+ // this.hideInstanceStats = true;
+ // $timeout(() => {
+ // this.selectedInstances = instances;
+ // }, 500);
+ // }
+ // else{
+ // this.selectedInstances = instances;
+ // }
LogicTopologyHelper.updateTree(svg);
})
})