Commit ccfd81cc authored by Kyle Mann's avatar Kyle Mann Committed by Enrique Alcántara
parent 24b25c6c
<script> <script>
import { mapActions, mapState } from 'vuex'; import { mapActions, mapState } from 'vuex';
import { import {
GlDeprecatedButton,
GlButton, GlButton,
GlDeprecatedDropdown, GlDeprecatedDropdown,
GlDeprecatedDropdownItem, GlDeprecatedDropdownItem,
...@@ -14,7 +13,6 @@ import { SORT_FIELDS, SORT_ORDER } from '../store/modules/list/constants'; ...@@ -14,7 +13,6 @@ import { SORT_FIELDS, SORT_ORDER } from '../store/modules/list/constants';
export default { export default {
name: 'DependenciesActions', name: 'DependenciesActions',
components: { components: {
GlDeprecatedButton,
GlButton, GlButton,
GlDeprecatedDropdown, GlDeprecatedDropdown,
GlDeprecatedDropdownItem, GlDeprecatedDropdownItem,
...@@ -90,14 +88,14 @@ export default { ...@@ -90,14 +88,14 @@ export default {
</span> </span>
</gl-deprecated-dropdown-item> </gl-deprecated-dropdown-item>
</gl-deprecated-dropdown> </gl-deprecated-dropdown>
<gl-deprecated-button <gl-button
v-gl-tooltip v-gl-tooltip
:title="__('Sort direction')" :title="__('Sort direction')"
class="flex-grow-0 js-sort-order" class="flex-grow-0 js-sort-order"
@click="toggleSortOrder" @click="toggleSortOrder"
> >
<gl-icon :name="sortOrderIcon" /> <gl-icon :name="sortOrderIcon" />
</gl-deprecated-button> </gl-button>
</div> </div>
<gl-button <gl-button
v-gl-tooltip v-gl-tooltip
......
...@@ -56,17 +56,19 @@ exports[`DependenciesActions component matches the snapshot 1`] = ` ...@@ -56,17 +56,19 @@ exports[`DependenciesActions component matches the snapshot 1`] = `
</gl-deprecated-dropdown-item-stub> </gl-deprecated-dropdown-item-stub>
</gl-deprecated-dropdown-stub> </gl-deprecated-dropdown-stub>
<gl-deprecated-button-stub <gl-button-stub
category="tertiary"
class="flex-grow-0 js-sort-order" class="flex-grow-0 js-sort-order"
size="md" icon=""
size="medium"
title="Sort direction" title="Sort direction"
variant="secondary" variant="default"
> >
<gl-icon-stub <gl-icon-stub
name="sort-lowest" name="sort-lowest"
size="16" size="16"
/> />
</gl-deprecated-button-stub> </gl-button-stub>
</div> </div>
<gl-button-stub <gl-button-stub
......
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