fix(widget): hide follow button for empty follow link
parent
5a141b5eff
commit
75dc22652c
|
@ -147,7 +147,7 @@ Profile.Cacheable = cacheComponent(Profile, 'widget.profile', props => {
|
||||||
url: url_for('/tags')
|
url: url_for('/tags')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
followLink: url_for(follow_link),
|
followLink: follow_link ? url_for(follow_link) : undefined,
|
||||||
followTitle: __('widget.follow'),
|
followTitle: __('widget.follow'),
|
||||||
socialLinks
|
socialLinks
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue