Commit 45ecf8f1 authored by Juan J. Ramirez's avatar Juan J. Ramirez Committed by Enrique Alcántara

Button migration vulnerability charts

parent b4665a80
---
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