mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-23 16:44:04 -05:00
Only show recently used tags hint when they are present (#32120)
This commit is contained in:
parent
c9b0699964
commit
675ec1a0ad
@ -10,6 +10,7 @@ module SettingsHelper
|
|||||||
end
|
end
|
||||||
|
|
||||||
def featured_tags_hint(recently_used_tags)
|
def featured_tags_hint(recently_used_tags)
|
||||||
|
recently_used_tags.present? &&
|
||||||
safe_join(
|
safe_join(
|
||||||
[
|
[
|
||||||
t('simple_form.hints.featured_tag.name'),
|
t('simple_form.hints.featured_tag.name'),
|
||||||
|
Loading…
Reference in New Issue
Block a user