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
a2b19635
Commit
a2b19635
authored
Aug 04, 2020
by
Taurie Davis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove deprecated button from security comment dismissal
parent
1d704420
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
12 deletions
+7
-12
ee/app/assets/javascripts/vue_shared/security_reports/components/dismissal_note.vue
...vue_shared/security_reports/components/dismissal_note.vue
+7
-12
No files found.
ee/app/assets/javascripts/vue_shared/security_reports/components/dismissal_note.vue
View file @
a2b19635
<
script
>
import
{
escape
}
from
'
lodash
'
;
import
EventItem
from
'
ee/vue_shared/security_reports/components/event_item.vue
'
;
import
{
Gl
Deprecated
Button
}
from
'
@gitlab/ui
'
;
import
{
GlButton
}
from
'
@gitlab/ui
'
;
import
{
__
,
sprintf
}
from
'
~/locale
'
;
import
LoadingButton
from
'
~/vue_shared/components/loading_button.vue
'
;
export
default
{
components
:
{
EventItem
,
GlDeprecatedButton
,
LoadingButton
,
GlButton
,
},
props
:
{
feedback
:
{
...
...
@@ -118,15 +116,12 @@ export default {
<template
#right-content
>
<div
class=
"d-flex flex-grow-1 align-self-start flex-row-reverse"
>
<loading-button
:label=
"__('Delete comment')"
container-class=
"btn btn-remove"
@
click=
"$emit('deleteDismissalComment')"
/>
<gl-deprecated-button
class=
"mr-2"
@
click=
"$emit('hideDismissalDeleteButtons')"
>
<gl-button
category=
"primary"
variant=
"danger"
@
click=
"$emit('deleteDismissalComment')"
>
{{
__
(
'
Delete comment
'
)
}}
</gl-button>
<gl-button
class=
"mr-2"
@
click=
"$emit('hideDismissalDeleteButtons')"
>
{{
__
(
'
Cancel
'
)
}}
</gl-
deprecated-
button>
</gl-button>
</div>
</
template
>
</event-item>
...
...
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