Commit b85164c6 authored by Kev's avatar Kev Committed by Kushal Pandya

Add tooltips to requirement import and export buttons

parent 7d755fad
---
title: Add tooltips to requirement import and export buttons
merge_request: 52582
author: Kev @KevSlashNull
type: fixed
<script>
import { GlBadge, GlButton, GlButtonGroup, GlTabs, GlTab } from '@gitlab/ui';
import { GlBadge, GlButton, GlButtonGroup, GlTabs, GlTab, GlTooltipDirective } from '@gitlab/ui';
import { FilterState } from '../constants';
export default {
directives: {
GlTooltip: GlTooltipDirective,
},
FilterState,
components: {
GlBadge,
......@@ -89,6 +92,8 @@ export default {
<gl-button-group>
<gl-button
v-if="showUploadCsv"
v-gl-tooltip
:title="__('Export as CSV')"
category="secondary"
:disabled="showCreateForm"
icon="export"
......@@ -96,6 +101,8 @@ export default {
/>
<gl-button
v-if="showUploadCsv"
v-gl-tooltip
:title="__('Import requirements')"
category="secondary"
class="js-import-requirements qa-import-requirements-button"
:disabled="showCreateForm"
......
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