Migrate to GlButton in dependency list

parent bff7508d
<script> <script>
import { mapActions, mapGetters, mapState } from 'vuex'; import { mapActions, mapGetters, mapState } from 'vuex';
import { import { GlEmptyState, GlIcon, GlLoadingIcon, GlSprintf, GlLink, GlButton } from '@gitlab/ui';
GlEmptyState,
GlIcon,
GlLoadingIcon,
GlSprintf,
GlLink,
GlDeprecatedButton,
} from '@gitlab/ui';
import { __ } from '~/locale'; import { __ } from '~/locale';
import DependenciesActions from './dependencies_actions.vue'; import DependenciesActions from './dependencies_actions.vue';
import DependencyListIncompleteAlert from './dependency_list_incomplete_alert.vue'; import DependencyListIncompleteAlert from './dependency_list_incomplete_alert.vue';
...@@ -25,7 +18,7 @@ export default { ...@@ -25,7 +18,7 @@ export default {
GlLoadingIcon, GlLoadingIcon,
GlSprintf, GlSprintf,
GlLink, GlLink,
GlDeprecatedButton, GlButton,
DependencyListIncompleteAlert, DependencyListIncompleteAlert,
DependencyListJobFailedAlert, DependencyListJobFailedAlert,
PaginatedDependenciesTable, PaginatedDependenciesTable,
...@@ -133,9 +126,9 @@ export default { ...@@ -133,9 +126,9 @@ export default {
:svg-path="emptyStateSvgPath" :svg-path="emptyStateSvgPath"
> >
<template #actions> <template #actions>
<gl-deprecated-button variant="info" :href="emptyStateOptions.link"> <gl-button variant="info" :href="emptyStateOptions.link">
{{ emptyStateOptions.buttonLabel }} {{ emptyStateOptions.buttonLabel }}
</gl-deprecated-button> </gl-button>
</template> </template>
</gl-empty-state> </gl-empty-state>
......
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