Commit a14d4f4a authored by Jeremy Elder's avatar Jeremy Elder Committed by Enrique Alcántara

Replace GlDeprecatedButton in dismissal_comment_modal_footer.vue

parent d4640473
<script>
import { GlDeprecatedButton } from '@gitlab/ui';
import { GlButton } from '@gitlab/ui';
import Tracking from '~/tracking';
import { s__ } from '~/locale';
import LoadingButton from '~/vue_shared/components/loading_button.vue';
......@@ -7,7 +7,7 @@ import LoadingButton from '~/vue_shared/components/loading_button.vue';
export default {
name: 'DismissalCommentModalFooter',
components: {
GlDeprecatedButton,
GlButton,
LoadingButton,
},
props: {
......@@ -65,10 +65,9 @@ export default {
<template>
<div>
<gl-deprecated-button class="js-cancel" @click="$emit('cancel')">
<gl-button variant="default" category="primary" class="js-cancel" @click="$emit('cancel')">
{{ __('Cancel') }}
</gl-deprecated-button>
</gl-button>
<loading-button
:loading="isDismissingVulnerability"
:disabled="isDismissingVulnerability"
......
---
title: Replace deprecated button with new button
merge_request: 38074
author:
type: other
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