Commit 8771610f authored by Jose Ivan Vargas's avatar Jose Ivan Vargas

Merge branch 'russell/migrate-ide-commit-sidebar-tooltip' into 'master'

Migrate tooltip component to GitLab UI’s tooltip

See merge request gitlab-org/gitlab!45617
parents efd2a6de 8c7474f5
<script>
import { mapActions } from 'vuex';
import { GlIcon } from '@gitlab/ui';
import tooltip from '~/vue_shared/directives/tooltip';
import { GlIcon, GlTooltipDirective } from '@gitlab/ui';
import FileIcon from '~/vue_shared/components/file_icon.vue';
import { viewerTypes } from '../../constants';
import getCommitIconMap from '../../commit_icon';
......@@ -12,7 +11,7 @@ export default {
FileIcon,
},
directives: {
tooltip,
GlTooltip: GlTooltipDirective,
},
props: {
file: {
......@@ -77,7 +76,7 @@ export default {
<template>
<div class="multi-file-commit-list-item position-relative">
<div
v-tooltip
v-gl-tooltip
:title="tooltipTitle"
:class="{
'is-active': isActive,
......
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