Remove unused field in Query and Mock Data
I don't believe this field is being used:
resolvedOnDefaultBranch: Indicates whether the vulnerability is fixed on the default branch or not.
fragment VulnerabilityFragment on Vulnerability {
- resolvedOnDefaultBranch
Can also remove it on the spec file:
ee/spec/frontend/security_dashboard/components/mock_data.js
For sure, it can be removed on the externalIssueLinks
and issueLinks
because they're not a field
issueLinks: {
nodes: [
{
issue: {
- resolvedOnDefaultBranch: true,
},
},
],
},
externalIssueLinks: {
nodes: [
{
id: 'issue-1',
issue: {
- resolvedOnDefaultBranch: true
},
},
],
},
BUT!
Looks like it's being used here, but it is actually being used?
- ee/app/assets/javascripts/vulnerabilities/components/header.vue
Edited by Samantha Ming