Commit 9b52d40d authored by Savas Vedova's avatar Savas Vedova Committed by Denys Mishunov

Add missing resolvedOnDefaultBranch property

- Update graphql query
parent f9606de0
...@@ -323,6 +323,7 @@ export default { ...@@ -323,6 +323,7 @@ export default {
</gl-link> </gl-link>
<issue-link v-if="issue(item)" :issue="issue(item)" /> <issue-link v-if="issue(item)" :issue="issue(item)" />
<vulnerability-comment-icon v-if="hasComments(item)" :vulnerability="item" /> <vulnerability-comment-icon v-if="hasComments(item)" :vulnerability="item" />
<remediated-badge v-if="item.resolvedOnDefaultBranch" class="ml-2" />
</div> </div>
<div <div
v-if="item.location" v-if="item.location"
...@@ -336,7 +337,6 @@ export default { ...@@ -336,7 +337,6 @@ export default {
{{ createLocationString(item.location) }} {{ createLocationString(item.location) }}
</div> </div>
</div> </div>
<remediated-badge v-if="item.resolvedOnDefaultBranch" class="ml-2" />
</template> </template>
<template #cell(identifier)="{ item }"> <template #cell(identifier)="{ item }">
......
...@@ -4,6 +4,7 @@ fragment Vulnerability on Vulnerability { ...@@ -4,6 +4,7 @@ fragment Vulnerability on Vulnerability {
state state
severity severity
vulnerabilityPath vulnerabilityPath
resolvedOnDefaultBranch
userNotesCount userNotesCount
issueLinks(linkType: CREATED) { issueLinks(linkType: CREATED) {
nodes { nodes {
......
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