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