Skip to content

Commit

Permalink
Merge pull request #1392 from nextcloud/bugfix/noid/fix-custom-avatar…
Browse files Browse the repository at this point in the history
…s-not-showing-up

Fix customer avatar handling in userbubble
  • Loading branch information
marcoambrosini authored Sep 7, 2020
2 parents 7acf701 + 8d33492 commit eeefcaf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/UserBubble/UserBubble.vue
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ This component has the following slot:
:class="primary ? 'user-bubble__content--primary' : ''"
@click="onClick">
<!-- Avatar -->
<Avatar :url="!isCustomAvatar && isAvatarUrl ? avatarImage : undefined"
:icon-class="!isCustomAvatar && !isAvatarUrl ? avatarImage : undefined"
<Avatar :url="isCustomAvatar && isAvatarUrl ? avatarImage : undefined"
:icon-class="isCustomAvatar && !isAvatarUrl ? avatarImage : undefined"
:user="user"
:display-name="displayName"
:size="size - (margin * 2)"
Expand Down

0 comments on commit eeefcaf

Please sign in to comment.