From 36db59dfa6844ef6b0581580e32bcc9847dbf2d7 Mon Sep 17 00:00:00 2001 From: Simon Knox Date: Fri, 3 May 2019 08:23:14 +1000 Subject: Get groups from Vuex --- app/assets/javascripts/monitoring/components/dashboard.vue | 8 ++++---- 1 file 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 { + --> - TODO: Uncomment this once the action that requests all data is in place--> -

Finished loading...

+