Commit fef5948e authored by Enrique Alcántara's avatar Enrique Alcántara

Merge branch 'migrate-btn-vul-charts' into 'master'

Button migration vulnerability charts

Closes #219897

See merge request gitlab-org/gitlab!38610
parents ae7c2b59 45ecf8f1
---
title: Button migration vulnerability charts
merge_request: 38610
author:
type: changed
<script>
import { GlDeprecatedButton } from '@gitlab/ui';
import { GlButton } from '@gitlab/ui';
import { n__ } from '~/locale';
export default {
name: 'VulnerabilityChartButtons',
components: {
GlDeprecatedButton,
GlButton,
},
props: {
days: {
......@@ -32,15 +32,14 @@ export default {
<template>
<div class="btn-group w-100">
<gl-deprecated-button
<gl-button
v-for="day in days"
:key="day"
:class="{ active: activeDay === day }"
variant="secondary"
:data-days="day"
@click="clickHandler(day)"
>
{{ buttonContent(day) }}
</gl-deprecated-button>
</gl-button>
</div>
</template>
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