提交 45732abd 编写于 作者: G GitLab Bot

Add latest changes from gitlab-org/gitlab@master

上级 bbd439f9
<script> <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 ModalCopyButton from '~/vue_shared/components/modal_copy_button.vue';
import { s__ } from '~/locale'; import { s__ } from '~/locale';
export default { export default {
components: { components: {
GlDeprecatedButton, GlButton,
GlLink, GlLink,
GlModal, GlModal,
GlSprintf, GlSprintf,
...@@ -44,7 +44,7 @@ export default { ...@@ -44,7 +44,7 @@ export default {
</script> </script>
<template> <template>
<div> <div>
<gl-deprecated-button <gl-button
v-gl-modal="$options.modalInfo.id" v-gl-modal="$options.modalInfo.id"
variant="info" variant="info"
category="secondary" category="secondary"
...@@ -52,7 +52,7 @@ export default { ...@@ -52,7 +52,7 @@ export default {
class="js-enable-review-app-button" class="js-enable-review-app-button"
> >
{{ s__('Environments|Enable review app') }} {{ s__('Environments|Enable review app') }}
</gl-deprecated-button> </gl-button>
<gl-modal <gl-modal
:modal-id="$options.modalInfo.id" :modal-id="$options.modalInfo.id"
:title="$options.modalInfo.title" :title="$options.modalInfo.title"
......
---
title: Migrate enable review app button in environments
merge_request: 38897
author: George Tsiolis
type: changed
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册