Commit c00fb031 authored by Illya Klymov's avatar Illya Klymov

Merge branch '229291-wiki-delete-btn' into 'master'

Replace bootstrap button in Wiki page

Closes #229291

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