mirror of
https://ghfast.top/https://github.com/discourse/discourse-follow.git
synced 2026-07-16 11:46:25 +08:00
This commit hides/shows the Followers/Following counts shown on user cards and profiles based on whether the current user can or can't see the followers/following pages under user profile (controlled by the `follow_(following|follower)_visible` site settings).
5 lines
125 B
JavaScript
5 lines
125 B
JavaScript
export default {
|
|
shouldRender(_, component) {
|
|
return component.siteSettings.follow_show_statistics_on_profile;
|
|
},
|
|
};
|