Commit 279b5532 authored by Marcia Ramos's avatar Marcia Ramos

Update tooltip component

parent 8bd8ea37
<script>
import { mapActions } from 'vuex';
import { GlModal, GlIcon } from '@gitlab/ui';
import { GlModal, GlIcon, GlTooltipDirective } from '@gitlab/ui';
import { __, sprintf } from '~/locale';
import tooltip from '~/vue_shared/directives/tooltip';
import ListItem from './list_item.vue';
export default {
......@@ -12,7 +11,7 @@ export default {
GlModal,
},
directives: {
tooltip,
GlTooltip: GlTooltipDirective,
},
props: {
fileList: {
......@@ -73,7 +72,7 @@ export default {
<div class="d-flex ml-auto">
<button
v-if="!stagedList"
v-tooltip
v-gl-tooltip
:title="__('Discard all changes')"
:aria-label="__('Discard all changes')"
:disabled="!filesLength"
......
---
title: "Migrate tooltip in app/assets/javascripts/ide/components/commit_sidebar/list.vue"
merge_request: 46148
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