Commit e0e5ab3c authored by Martin Wortschack's avatar Martin Wortschack

Merge branch 'selhorn-tooltip-2' into 'master'

Changed tooltip to gl-tooltip for "Participants" on issues

See merge request gitlab-org/gitlab!44661
parents ba0e97d8 69fba3a6
<script> <script>
import { GlIcon, GlLoadingIcon } from '@gitlab/ui'; import { GlIcon, GlLoadingIcon, GlTooltipDirective } from '@gitlab/ui';
import { __, n__, sprintf } from '~/locale'; import { __, n__, sprintf } from '~/locale';
import tooltip from '~/vue_shared/directives/tooltip';
import userAvatarImage from '~/vue_shared/components/user_avatar/user_avatar_image.vue'; import userAvatarImage from '~/vue_shared/components/user_avatar/user_avatar_image.vue';
export default { export default {
directives: { directives: {
tooltip, GlTooltip: GlTooltipDirective,
}, },
components: { components: {
userAvatarImage, userAvatarImage,
...@@ -87,12 +86,9 @@ export default { ...@@ -87,12 +86,9 @@ export default {
<div> <div>
<div <div
v-if="showParticipantLabel" v-if="showParticipantLabel"
v-tooltip v-gl-tooltip.left.viewport
:title="participantLabel" :title="participantLabel"
class="sidebar-collapsed-icon" class="sidebar-collapsed-icon"
data-container="body"
data-placement="left"
data-boundary="viewport"
@click="onClickCollapsedIcon" @click="onClickCollapsedIcon"
> >
<gl-icon name="users" /> <gl-icon name="users" />
......
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