diff options
-rw-r--r-- | app/assets/javascripts/monitoring/components/dashboard.vue | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/assets/javascripts/monitoring/components/dashboard.vue b/app/assets/javascripts/monitoring/components/dashboard.vue index 3c8082e956e..4d3d9ded000 100644 --- a/app/assets/javascripts/monitoring/components/dashboard.vue +++ b/app/assets/javascripts/monitoring/components/dashboard.vue @@ -185,8 +185,8 @@ export default { // this.state = 'loading'; Promise.all(this.servicePromises) .then(() => { - if (this.store.groups.length < 1) { - // this.state = 'noData'; + if (this.groups.length < 1) { + this.state = 'noData'; return; } @@ -265,6 +265,7 @@ export default { </gl-dropdown> </div> </div> + --> <graph-group v-for="(groupData, index) in groups" :key="index" @@ -308,8 +309,7 @@ export default { :graph-data="graphData" /> </template> - </graph-group> TODO: Uncomment this once the action that requests all data is in place--> - <div><h1>Finished loading...</h1></div> + </graph-group> </div> <empty-state v-else |