Only show recently used tags hint when they are present (#32120)
This commit is contained in:
		@@ -10,16 +10,17 @@ module SettingsHelper
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
  def featured_tags_hint(recently_used_tags)
 | 
			
		||||
    safe_join(
 | 
			
		||||
      [
 | 
			
		||||
        t('simple_form.hints.featured_tag.name'),
 | 
			
		||||
        safe_join(
 | 
			
		||||
          links_for_featured_tags(recently_used_tags),
 | 
			
		||||
          ', '
 | 
			
		||||
        ),
 | 
			
		||||
      ],
 | 
			
		||||
      ' '
 | 
			
		||||
    )
 | 
			
		||||
    recently_used_tags.present? &&
 | 
			
		||||
      safe_join(
 | 
			
		||||
        [
 | 
			
		||||
          t('simple_form.hints.featured_tag.name'),
 | 
			
		||||
          safe_join(
 | 
			
		||||
            links_for_featured_tags(recently_used_tags),
 | 
			
		||||
            ', '
 | 
			
		||||
          ),
 | 
			
		||||
        ],
 | 
			
		||||
        ' '
 | 
			
		||||
      )
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
  def session_device_icon(session)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user