Commit 3733418c authored by Sunjung Park's avatar Sunjung Park

Replace old button to the glbutton

parent 1d87f668
<script>
import { GlButton, GlModal, GlModalDirective } from '@gitlab/ui';
import { escape } from 'lodash';
import { GlModal, GlModalDirective } from '@gitlab/ui';
import { s__, sprintf } from '~/locale';
export default {
components: {
GlModal,
GlButton,
},
directives: {
'gl-modal': GlModalDirective,
......@@ -55,14 +56,14 @@ export default {
<template>
<div class="d-inline-block">
<button
<gl-button
v-gl-modal="modalId"
type="button"
class="btn btn-danger"
category="primary"
variant="danger"
data-qa-selector="delete_button"
>
{{ __('Delete') }}
</button>
</gl-button>
<gl-modal
:title="title"
:action-primary="{
......
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