Skip to content

Commit

Permalink
Merge pull request #6297 from Koc/bugfix/fix-avatar-title
Browse files Browse the repository at this point in the history
fix: Fix avatar title not shown when component used without menu
  • Loading branch information
skjnldsv authored Jan 7, 2025
2 parents 2272e90 + 50c8ded commit 690f027
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 @@ -153,6 +153,7 @@ export default {
</docs>
<template>
<span ref="main"
:title="tooltip"
v-click-outside="closeMenu"
:class="{
'avatardiv--unknown': userDoesNotExist,
Expand All @@ -177,7 +178,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 @@ -191,7 +191,6 @@ export default {
:container="menuContainer"
:open.sync="contactsMenuOpenState"
:aria-label="avatarAriaLabel"
:title="tooltip"
@click="toggleMenu">
<component :is="item.ncActionComponent"
v-for="(item, key) in menu"
Expand Down

0 comments on commit 690f027

Please sign in to comment.