Commit 37106d3c authored by Natalia Tepluhina's avatar Natalia Tepluhina

Merge branch...

Merge branch '219757-replace-gl-deprecated-button-with-gl-button-in-app-assets-javascripts-environments' into 'master'

Resolve "Migrate enable review app button in environments"

Closes #219757

See merge request gitlab-org/gitlab!38897
parents 50de2678 fa687b96
<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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment