Commit fa687b96 authored by George Tsiolis's avatar George Tsiolis

Migrate enable review app button in environments

parent e5a5e54a
<script>
import { GlDeprecatedButton, GlModal, GlModalDirective, GlLink, GlSprintf } from '@gitlab/ui';
import { GlButton, GlModal, GlModalDirective, GlLink, GlSprintf } from '@gitlab/ui';
import ModalCopyButton from '~/vue_shared/components/modal_copy_button.vue';
import { s__ } from '~/locale';
export default {
components: {
GlDeprecatedButton,
GlButton,
GlLink,
GlModal,
GlSprintf,
......@@ -44,7 +44,7 @@ export default {
</script>
<template>
<div>
<gl-deprecated-button
<gl-button
v-gl-modal="$options.modalInfo.id"
variant="info"
category="secondary"
......@@ -52,7 +52,7 @@ export default {
class="js-enable-review-app-button"
>
{{ s__('Environments|Enable review app') }}
</gl-deprecated-button>
</gl-button>
<gl-modal
:modal-id="$options.modalInfo.id"
:title="$options.modalInfo.title"
......
---
title: Migrate enable review app button in environments
merge_request: 38897
author: George Tsiolis
type: changed
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