Commit 5d809a63 authored by Tim Zallmann's avatar Tim Zallmann

Merge branch 'cleanup-monitoring-dashboard-unused-methods' into 'master'

Cleanup monitoring dashboard unused methods

See merge request gitlab-org/gitlab!20819
parents e9b78af8 3bdebd4e
...@@ -22,8 +22,7 @@ import MonitorTimeSeriesChart from './charts/time_series.vue'; ...@@ -22,8 +22,7 @@ import MonitorTimeSeriesChart from './charts/time_series.vue';
import MonitorSingleStatChart from './charts/single_stat.vue'; import MonitorSingleStatChart from './charts/single_stat.vue';
import GraphGroup from './graph_group.vue'; import GraphGroup from './graph_group.vue';
import EmptyState from './empty_state.vue'; import EmptyState from './empty_state.vue';
import TrackEventDirective from '~/vue_shared/directives/track_event'; import { getTimeDiff, isValidDate } from '../utils';
import { getTimeDiff, isValidDate, downloadCSVOptions, generateLinkToChartOptions } from '../utils';
export default { export default {
components: { components: {
...@@ -44,7 +43,6 @@ export default { ...@@ -44,7 +43,6 @@ export default {
directives: { directives: {
GlModal: GlModalDirective, GlModal: GlModalDirective,
GlTooltip: GlTooltipDirective, GlTooltip: GlTooltipDirective,
TrackEvent: TrackEventDirective,
}, },
props: { props: {
externalDashboardUrl: { externalDashboardUrl: {
...@@ -300,8 +298,6 @@ export default { ...@@ -300,8 +298,6 @@ export default {
onDateTimePickerApply(timeWindowUrlParams) { onDateTimePickerApply(timeWindowUrlParams) {
return redirectTo(mergeUrlParams(timeWindowUrlParams, window.location.href)); return redirectTo(mergeUrlParams(timeWindowUrlParams, window.location.href));
}, },
downloadCSVOptions,
generateLinkToChartOptions,
}, },
addMetric: { addMetric: {
title: s__('Metrics|Add metric'), title: s__('Metrics|Add metric'),
......
---
title: Removed unused methods in monitoring dashboard
merge_request: 20819
author:
type: other
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment