From 764b6c005c5e4860e431994468cabac86805b413 Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Tue, 27 Feb 2018 22:30:32 -0500 Subject: [PATCH] FIX: don't show Other Tags on /tags if there aren't any to show --- app/assets/javascripts/discourse/templates/tags/index.hbs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/templates/tags/index.hbs b/app/assets/javascripts/discourse/templates/tags/index.hbs index 1036b77bc77..1cbccceaaba 100644 --- a/app/assets/javascripts/discourse/templates/tags/index.hbs +++ b/app/assets/javascripts/discourse/templates/tags/index.hbs @@ -27,4 +27,6 @@ {{tag-list tags=tagGroup.tags sortProperties=sortProperties tagGroupName=tagGroup.name}} {{/each}} -{{tag-list tags=model sortProperties=sortProperties titleKey=otherTagsTitleKey}} +{{#if model}} + {{tag-list tags=model sortProperties=sortProperties titleKey=otherTagsTitleKey}} +{{/if}}