Commit db0d4c51 authored by v_mishra's avatar v_mishra Committed by Taurie Davis

Migrate deprecated buttons for Epics - Show More

parent d9424e5d
<script>
import { mapState, mapActions } from 'vuex';
import { GlDeprecatedButton, GlLoadingIcon } from '@gitlab/ui';
import { GlButton, GlLoadingIcon } from '@gitlab/ui';
import TreeDragAndDropMixin from '../mixins/tree_dd_mixin';
......@@ -8,7 +8,7 @@ import { ChildType } from '../constants';
export default {
components: {
GlDeprecatedButton,
GlButton,
GlLoadingIcon,
},
mixins: [TreeDragAndDropMixin],
......@@ -72,12 +72,12 @@ export default {
>
<tree-item v-for="item in children" :key="item.id" :parent-item="parentItem" :item="item" />
<li v-if="hasMoreChildren" class="tree-item list-item pt-0 pb-0 d-flex justify-content-center">
<gl-deprecated-button
<gl-button
v-if="!fetchInProgress"
class="d-inline-block mb-2"
variant="link"
@click="handleShowMoreClick($event)"
>{{ s__('Epics|Show more') }}</gl-deprecated-button
>{{ s__('Epics|Show more') }}</gl-button
>
<gl-loading-icon v-else size="sm" class="mt-1 mb-1" />
</li>
......
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