Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Knox <psimyn@gmail.com>2018-07-30 23:29:54 +0300
committerSimon Knox <psimyn@gmail.com>2018-07-31 02:16:34 +0300
commitdd4a5b146399780728c877ec443b1f86d112c61b (patch)
tree1fdc27d4f377e71f3496b6e61f3f87c13b44679f /app/assets/javascripts/monitoring
parentbb7d914d20e9bbd1546d9403d9f83c974c59acb4 (diff)
fix height of full-width Metrics charts
trigger layout update after first draw(), as they are first rendered at 450px width (from CSS), then update to 100% once they have paths added
Diffstat (limited to 'app/assets/javascripts/monitoring')
-rw-r--r--app/assets/javascripts/monitoring/components/dashboard.vue1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/assets/javascripts/monitoring/components/dashboard.vue b/app/assets/javascripts/monitoring/components/dashboard.vue
index 17a6d5bcd2a..6afaefc56f8 100644
--- a/app/assets/javascripts/monitoring/components/dashboard.vue
+++ b/app/assets/javascripts/monitoring/components/dashboard.vue
@@ -147,6 +147,7 @@ export default {
}
this.showEmptyState = false;
})
+ .then(this.resize)
.catch(() => {
this.state = 'unableToConnect';
});