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
45ecf8f1
Commit
45ecf8f1
authored
Aug 05, 2020
by
Juan J. Ramirez
Committed by
Enrique Alcántara
Aug 05, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Button migration vulnerability charts
parent
b4665a80
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
changelogs/unreleased/migrate-btn-vul-charts.yml
changelogs/unreleased/migrate-btn-vul-charts.yml
+5
-0
ee/app/assets/javascripts/security_dashboard/components/vulnerability_chart_buttons.vue
...rity_dashboard/components/vulnerability_chart_buttons.vue
+4
-5
No files found.
changelogs/unreleased/migrate-btn-vul-charts.yml
0 → 100644
View file @
45ecf8f1
---
title
:
Button migration vulnerability charts
merge_request
:
38610
author
:
type
:
changed
ee/app/assets/javascripts/security_dashboard/components/vulnerability_chart_buttons.vue
View file @
45ecf8f1
<
script
>
<
script
>
import
{
Gl
Deprecated
Button
}
from
'
@gitlab/ui
'
;
import
{
GlButton
}
from
'
@gitlab/ui
'
;
import
{
n__
}
from
'
~/locale
'
;
import
{
n__
}
from
'
~/locale
'
;
export
default
{
export
default
{
name
:
'
VulnerabilityChartButtons
'
,
name
:
'
VulnerabilityChartButtons
'
,
components
:
{
components
:
{
Gl
Deprecated
Button
,
GlButton
,
},
},
props
:
{
props
:
{
days
:
{
days
:
{
...
@@ -32,15 +32,14 @@ export default {
...
@@ -32,15 +32,14 @@ export default {
<
template
>
<
template
>
<div
class=
"btn-group w-100"
>
<div
class=
"btn-group w-100"
>
<gl-
deprecated-
button
<gl-button
v-for=
"day in days"
v-for=
"day in days"
:key=
"day"
:key=
"day"
:class=
"
{ active: activeDay === day }"
:class=
"
{ active: activeDay === day }"
variant="secondary"
:data-days="day"
:data-days="day"
@click="clickHandler(day)"
@click="clickHandler(day)"
>
>
{{
buttonContent
(
day
)
}}
{{
buttonContent
(
day
)
}}
</gl-
deprecated-
button>
</gl-button>
</div>
</div>
</
template
>
</
template
>
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