Skip to content

Commit

Permalink
Merge pull request #1639 from nextcloud/bugfix/noid/fix-avatar-menu-c…
Browse files Browse the repository at this point in the history
…lick

Fix avatar menu click handler
  • Loading branch information
skjnldsv authored Dec 16, 2020
2 parents 2051e8b + a7c6e2f commit 84e5335
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Avatar/Avatar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
}"
:style="avatarStyle"
class="avatardiv popovermenu-wrapper"
v-on="disableMenu ? { click: toggleMenu } : {}">
v-on="!disableMenu ? { click: toggleMenu } : {}">
<!-- Avatar icon or image -->
<div v-if="iconClass" :class="iconClass" class="avatar-class-icon" />
<img v-else-if="isAvatarLoaded && !userDoesNotExist"
Expand Down

0 comments on commit 84e5335

Please sign in to comment.