mirror of
https://github.com/kikobar/mastodon.git
synced 2024-11-17 12:42:35 +00:00
Fix user preference to show trends not working on public pages (#11740)
Fix #11738
This commit is contained in:
parent
3221f998dd
commit
16c1abdb2d
|
@ -5,7 +5,7 @@
|
|||
.hero-widget__text
|
||||
%p= @instance_presenter.site_short_description.html_safe.presence || @instance_presenter.site_description.html_safe.presence || t('about.generic_description', domain: site_hostname)
|
||||
|
||||
- if Setting.trends
|
||||
- if Setting.trends && !(user_signed_in? && !current_user.setting_trends)
|
||||
- trends = TrendingTags.get(3)
|
||||
|
||||
- unless trends.empty?
|
||||
|
|
Loading…
Reference in a new issue