mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 03:44:29 +03:00
Fixed avatar not appearing for text-only setting
- fixes a bug that avatars for logged in members didn't appear on the trigger button (bottom right) when the setting for the button was set to 'Text only'
This commit is contained in:
parent
0a55cfa82e
commit
3e8e6341ee
@ -107,7 +107,7 @@ class TriggerButtonContent extends React.Component {
|
||||
const Style = Styles({brandColor: this.context.brandColor});
|
||||
const memberGravatar = this.context.member && this.context.member.avatar_image;
|
||||
|
||||
if (!buttonStyle.includes('icon')) {
|
||||
if (!buttonStyle.includes('icon') && !this.context.member) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user