Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
Merge pull request #405 from NickAlvesX/master
Browse files Browse the repository at this point in the history
Make the avatarURL optional in the AccountDropdown
  • Loading branch information
jonthomp authored Mar 11, 2019
2 parents 0928f51 + 0d11a0d commit adb30fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/AccountDropdown/AccountDropdown.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ function AccountDropdown({
triggerClassName="pr-0 leading-none"
triggerContent={
<React.Fragment>
<Avatar imageURL={avatarURL} />
{avatarURL && <Avatar imageURL={avatarURL} />}
<span className="ml-2 d-none d-lg-block">
<span className="text-default">{name}</span>
<small className="text-muted d-block mt-1">{description}</small>
Expand Down

0 comments on commit adb30fb

Please sign in to comment.