Commit 9da60433 authored by Savas Vedova's avatar Savas Vedova

Loosen prop requirement

parent f0353a0c
...@@ -47,7 +47,8 @@ export default { ...@@ -47,7 +47,8 @@ export default {
}, },
vulnerabilitiesExportEndpoint: { vulnerabilitiesExportEndpoint: {
type: String, type: String,
required: true, required: false,
default: '',
}, },
}, },
data() { data() {
......
...@@ -51,7 +51,8 @@ export default { ...@@ -51,7 +51,8 @@ export default {
}, },
project: { project: {
type: Object, type: Object,
required: true, required: false,
default: undefined,
validator: project => !isUndefined(project.id) && !isUndefined(project.name), validator: project => !isUndefined(project.id) && !isUndefined(project.name),
}, },
dashboardDocumentation: { dashboardDocumentation: {
......
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