From dd4a5b146399780728c877ec443b1f86d112c61b Mon Sep 17 00:00:00 2001 From: Simon Knox Date: Tue, 31 Jul 2018 06:29:54 +1000 Subject: 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 --- app/assets/javascripts/monitoring/components/dashboard.vue | 1 + 1 file changed, 1 insertion(+) (limited to 'app/assets/javascripts/monitoring') 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'; }); -- cgit v1.2.3