Commit d6ebe7a9 authored by Jose Ivan Vargas's avatar Jose Ivan Vargas

Merge branch 'fix-vue-order-in-components-vulnerabilities' into 'master'

Fix component option order in vulnerabilities

See merge request gitlab-org/gitlab!51378
parents e7508ee0 d31e857e
......@@ -16,6 +16,26 @@ export default {
RelatedIssuesBlock,
GlButton,
},
inject: {
vulnerabilityId: {
default: 0,
},
projectFingerprint: {
default: '',
},
newIssueUrl: {
default: '',
},
reportType: {
default: '',
},
issueTrackingHelpPath: {
default: '',
},
permissionsHelpPath: {
default: '',
},
},
props: {
endpoint: {
type: String,
......@@ -60,26 +80,6 @@ export default {
return !this.isIssueAlreadyCreated && !this.isFetching && Boolean(this.newIssueUrl);
},
},
inject: {
vulnerabilityId: {
default: 0,
},
projectFingerprint: {
default: '',
},
newIssueUrl: {
default: '',
},
reportType: {
default: '',
},
issueTrackingHelpPath: {
default: '',
},
permissionsHelpPath: {
default: '',
},
},
created() {
this.fetchRelatedIssues();
},
......
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