Commit c68fd0e7 authored by Kyle Mann's avatar Kyle Mann Committed by Paul Gascou-Vaillancourt

Replaced deprecated button

parent 85aeffd2
......@@ -9,11 +9,12 @@ import {
} from '@gitlab/ui';
import { DEPENDENCY_LIST_TYPES } from '../store/constants';
import { SORT_FIELDS, SORT_ORDER } from '../store/modules/list/constants';
import {GlButton} from '@gitlab/ui';
export default {
name: 'DependenciesActions',
components: {
GlDeprecatedButton,
GlButton,
GlDeprecatedDropdown,
GlDeprecatedDropdownItem,
GlIcon,
......@@ -97,14 +98,15 @@ export default {
<gl-icon :name="sortOrderIcon" />
</gl-deprecated-button>
</div>
<gl-deprecated-button
<gl-button
v-gl-tooltip
:href="downloadEndpoint"
download="dependencies.json"
:title="s__('Dependencies|Export as JSON')"
class="js-download"
icon="export"
>
<gl-icon name="export" />
</gl-deprecated-button>
Export
</gl-button>
</div>
</template>
---
title: Add text to export button
merge_request:
author:
type: other
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