Commit 1e9a4da6 authored by Andrew Fontaine's avatar Andrew Fontaine

Merge branch...

Merge branch '219789-replace-gl-deprecated-button-with-gl-button-in-app-assets-javascripts-pipelines-components' into 'master'

Replace deprecated button syntax in empty_state

Closes #219789

See merge request gitlab-org/gitlab!38730
parents 169b8ece 2aa1e711
<script> <script>
import { GlDeprecatedButton } from '@gitlab/ui'; import { GlButton } from '@gitlab/ui';
export default { export default {
name: 'PipelinesEmptyState', name: 'PipelinesEmptyState',
components: { components: {
GlDeprecatedButton, GlButton,
}, },
props: { props: {
helpPagePath: { helpPagePath: {
...@@ -43,13 +43,14 @@ export default { ...@@ -43,13 +43,14 @@ export default {
</p> </p>
<div class="text-center"> <div class="text-center">
<gl-deprecated-button <gl-button
:href="helpPagePath" :href="helpPagePath"
variant="primary" variant="info"
category="primary"
class="js-get-started-pipelines" class="js-get-started-pipelines"
> >
{{ s__('Pipelines|Get started with Pipelines') }} {{ s__('Pipelines|Get started with Pipelines') }}
</gl-deprecated-button> </gl-button>
</div> </div>
</template> </template>
......
---
title: Replace deprecated button syntax in empty_state
merge_request: 38730
author:
type: performance
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