Commit acd5c43b authored by Martin Wortschack's avatar Martin Wortschack

Merge branch '219852-deprecated-button' into 'master'

Update deprecated button on pipeline security table

See merge request gitlab-org/gitlab!49620
parents 44858ef7 8d7b6146
---
title: Update deprecated button on pipeline security table
merge_request: 49620
author:
type: changed
<script> <script>
import { mapActions, mapState } from 'vuex'; import { mapActions, mapState } from 'vuex';
import { import {
GlDeprecatedButton, GlButton,
GlFormCheckbox, GlFormCheckbox,
GlDeprecatedSkeletonLoading as GlSkeletonLoading, GlDeprecatedSkeletonLoading as GlSkeletonLoading,
GlSprintf, GlSprintf,
...@@ -17,7 +17,7 @@ import { DASHBOARD_TYPES } from '../store/constants'; ...@@ -17,7 +17,7 @@ import { DASHBOARD_TYPES } from '../store/constants';
export default { export default {
name: 'SecurityDashboardTableRow', name: 'SecurityDashboardTableRow',
components: { components: {
GlDeprecatedButton, GlButton,
GlFormCheckbox, GlFormCheckbox,
GlSkeletonLoading, GlSkeletonLoading,
GlSprintf, GlSprintf,
...@@ -128,12 +128,12 @@ export default { ...@@ -128,12 +128,12 @@ export default {
> >
<gl-skeleton-loading v-if="isLoading" class="mt-2 js-skeleton-loader" :lines="2" /> <gl-skeleton-loading v-if="isLoading" class="mt-2 js-skeleton-loader" :lines="2" />
<template v-else> <template v-else>
<gl-deprecated-button <gl-button
ref="vulnerability-title" ref="vulnerability-title"
class="d-inline gl-reset-line-height gl-reset-text-align gl-white-space-normal" class="text-body"
variant="blank" variant="link"
@click="openModal({ vulnerability })" @click="openModal({ vulnerability })"
>{{ vulnerability.name }}</gl-deprecated-button >{{ vulnerability.name }}</gl-button
> >
<template v-if="isDismissed"> <template v-if="isDismissed">
<gl-icon <gl-icon
......
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