diff options
author | Sarah Yasonik <syasonik@gitlab.com> | 2019-06-06 10:30:04 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2019-06-06 10:30:04 +0300 |
commit | 6f7b6ba072462adb079f90eea9498317e258cb0d (patch) | |
tree | 266bc7f982e2447fa74afa2f5c8c263add21790a /app/assets/javascripts | |
parent | 3e07725f5a5028fa5ec5e5fc81cb50c0dee87b7d (diff) |
Use the selected time window for metrics dashboard
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r-- | app/assets/javascripts/monitoring/components/dashboard.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/monitoring/components/dashboard.vue b/app/assets/javascripts/monitoring/components/dashboard.vue index def810e879a..78744c0a0a9 100644 --- a/app/assets/javascripts/monitoring/components/dashboard.vue +++ b/app/assets/javascripts/monitoring/components/dashboard.vue @@ -172,7 +172,7 @@ export default { if (!this.hasMetrics) { this.setGettingStartedEmptyState(); } else { - this.fetchData(getTimeDiff(this.timeWindows.eightHours)); + this.fetchData(getTimeDiff(this.selectedTimeWindow)); sidebarMutationObserver = new MutationObserver(this.onSidebarMutation); sidebarMutationObserver.observe(document.querySelector('.layout-page'), { |