Skip to content

Commit

Permalink
fix: Fix avatar title not shown when component used without menu
Browse files Browse the repository at this point in the history
  • Loading branch information
Koc committed Dec 7, 2024
1 parent 6de42fd commit 13b58b5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/NcAvatar/NcAvatar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ export default {
</docs>
<template>
<span ref="main"
:title="tooltip"
v-click-outside="closeMenu"
:class="{
'avatardiv--unknown': userDoesNotExist,
Expand All @@ -133,7 +134,6 @@ export default {
type="tertiary-no-background"
class="action-item action-item__menutoggle"
:aria-label="avatarAriaLabel"
:title="tooltip"
@click="toggleMenu">
<template #icon>
<NcLoadingIcon v-if="contactsMenuLoading" />
Expand All @@ -147,7 +147,6 @@ export default {
:container="menuContainer"
:open.sync="contactsMenuOpenState"
:aria-label="avatarAriaLabel"
:title="tooltip"
@click="toggleMenu">
<NcActionLink v-for="(item, key) in menu"
:key="key"
Expand Down

0 comments on commit 13b58b5

Please sign in to comment.