Commit 800b8a2e authored by Olena Horal-Koretska's avatar Olena Horal-Koretska

Merge branch 'okr-components-tooltip-ide-commit-sidebar' into 'master'

Migrate to GlTooltipDirective in commit_sidebar/list.vue

See merge request gitlab-org/gitlab!46148
parents 41aaa3c1 279b5532
<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