summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/monitoring/components/dashboard.vue
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2018-02-22 00:25:13 -0600
committerMike Greiling <mike@pixelcog.com>2018-03-06 03:11:39 -0600
commit2e66da48c5c802d9eed9921a951f56c719273dc9 (patch)
tree53a809ac98ed59d25420c0b264bdbeddf14afab8 /app/assets/javascripts/monitoring/components/dashboard.vue
parent76b65bb2cd9d9fe082df448eea669f9cf0cbe066 (diff)
downloadgitlab-ce-2e66da48c5c802d9eed9921a951f56c719273dc9.tar.gz
add option to hide the graph legend
Diffstat (limited to 'app/assets/javascripts/monitoring/components/dashboard.vue')
-rw-r--r--app/assets/javascripts/monitoring/components/dashboard.vue6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/assets/javascripts/monitoring/components/dashboard.vue b/app/assets/javascripts/monitoring/components/dashboard.vue
index 3b94b3e8769..3544dd96e3e 100644
--- a/app/assets/javascripts/monitoring/components/dashboard.vue
+++ b/app/assets/javascripts/monitoring/components/dashboard.vue
@@ -21,6 +21,11 @@
type: String,
required: true,
},
+ showLegend: {
+ type: Boolean,
+ required: false,
+ default: true,
+ },
documentationPath: {
type: String,
required: true,
@@ -159,6 +164,7 @@
:deployment-data="store.deploymentData"
:project-path="projectPath"
:tags-path="tagsPath"
+ :show-legend="showLegend"
/>
</graph-group>
</div>