summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Knox <psimyn@gmail.com>2019-05-30 21:00:22 +1000
committerSimon Knox <psimyn@gmail.com>2019-05-30 21:00:22 +1000
commit9a557a3ac18801b72c15ceb87a4e0eadc6a44975 (patch)
tree6400451a653a00cdcd0dc65006cee68058647cc8
parent043488f575733ae1eedcf142439a24e8b1222848 (diff)
downloadgitlab-ce-ce-fix-props-warning.tar.gz
Make EE-only props not required in CEce-fix-props-warning
The metricsPath values only exist in EE metrics_data
-rw-r--r--app/assets/javascripts/monitoring/components/dashboard.vue6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/assets/javascripts/monitoring/components/dashboard.vue b/app/assets/javascripts/monitoring/components/dashboard.vue
index a55a47c277d..42fc2aafbc4 100644
--- a/app/assets/javascripts/monitoring/components/dashboard.vue
+++ b/app/assets/javascripts/monitoring/components/dashboard.vue
@@ -117,11 +117,13 @@ export default {
},
customMetricsPath: {
type: String,
- required: true,
+ required: false,
+ default: '',
},
validateQueryPath: {
type: String,
- required: true,
+ required: false,
+ default: '',
},
},
data() {