Commit 6fc49556 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch '213875-show-resolved-branch' into 'master'

Fix alert that references wrong property

See merge request gitlab-org/gitlab!29747
parents 38da8c01 c578efdf
......@@ -146,7 +146,7 @@ export default {
<div>
<resolution-alert
v-if="showResolutionAlert"
:default-branch-name="vulnerability.default_branch_name"
:default-branch-name="vulnerability.project_default_branch"
/>
<div class="detail-page-header">
<div class="detail-page-header-body align-items-center">
......
......@@ -208,7 +208,7 @@ describe('Vulnerability Header', () => {
beforeEach(() => {
createWrapper({
resolved_on_default_branch: true,
default_branch_name: branchName,
project_default_branch: branchName,
});
});
......
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