summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/assets/javascripts/monitoring/components/charts/heatmap.vue6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/assets/javascripts/monitoring/components/charts/heatmap.vue b/app/assets/javascripts/monitoring/components/charts/heatmap.vue
index 483386eebe6..8693f68f003 100644
--- a/app/assets/javascripts/monitoring/components/charts/heatmap.vue
+++ b/app/assets/javascripts/monitoring/components/charts/heatmap.vue
@@ -2,6 +2,7 @@
import { GlHeatmap } from '@gitlab/ui/dist/charts';
import { debounceByAnimationFrame } from '~/lib/utils/common_utils';
import { chartHeight } from '../../constants';
+import { __ } from '~/locale';
let debouncedResize;
@@ -23,6 +24,11 @@ export default {
required: false,
default: false,
},
+ legendText: {
+ type: Object,
+ required: false,
+ default: () => ({ average: __('Avg'), max: __('Max') }),
+ },
},
data() {
return {