Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
a94741e9
Commit
a94741e9
authored
Apr 09, 2020
by
Daniel Tian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Address MR comments 2
parent
d028a9c4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
ee/app/assets/javascripts/vue_shared/security_reports/components/modal.vue
...ascripts/vue_shared/security_reports/components/modal.vue
+2
-2
ee/spec/frontend/vulnerabilities/header_spec.js
ee/spec/frontend/vulnerabilities/header_spec.js
+1
-1
No files found.
ee/app/assets/javascripts/vue_shared/security_reports/components/modal.vue
View file @
a94741e9
...
...
@@ -156,10 +156,10 @@ export default {
return
this
.
dismissalFeedback
||
this
.
modal
.
isCommentingOnDismissal
;
},
showDismissalCommentActions
()
{
return
!
this
.
dismissalFeedback
Comment
||
!
this
.
isEditingExistingFeedback
;
return
!
this
.
dismissalFeedback
?.
comment_details
||
!
this
.
isEditingExistingFeedback
;
},
showDismissalCommentTextbox
()
{
return
!
this
.
dismissalFeedback
Comment
||
this
.
isEditingExistingFeedback
;
return
!
this
.
dismissalFeedback
?.
comment_details
||
this
.
isEditingExistingFeedback
;
},
},
methods
:
{
...
...
ee/spec/frontend/vulnerabilities/header_spec.js
View file @
a94741e9
...
...
@@ -69,7 +69,7 @@ describe('Vulnerability Header', () => {
const
findStatusDescription
=
()
=>
wrapper
.
find
(
StatusDescription
);
const
createWrapper
=
(
vulnerability
=
{},
finding
=
findingWithoutIssue
)
=>
{
wrapper
=
shallowMount
(
App
,
{
wrapper
=
shallowMount
(
Header
,
{
propsData
:
{
...
dataset
,
initialVulnerability
:
{
...
defaultVulnerability
,
...
vulnerability
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment