Commit 94e7a6c4 authored by Denys Mishunov's avatar Denys Mishunov

Merge branch '227290-fix-resolved-notification' into 'master'

Add missing resolvedOnDefaultBranch property

See merge request gitlab-org/gitlab!40483
parents b7b29f5d 994df35b
...@@ -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="gl-ml-3" />
</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 {
......
---
title: Fix remediated badge visibility on vulnerability list
merge_request: 40483
author:
type: fixed
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