From 839416212ee4219a983a0c872f3991dac3f6ed0a Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Wed, 22 Apr 2015 13:39:04 -0400 Subject: [PATCH] FIX: Category badge was showing before topic loaded --- .../discourse/templates/components/header-extra-info.hbs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/templates/components/header-extra-info.hbs b/app/assets/javascripts/discourse/templates/components/header-extra-info.hbs index c6326286eea..10c176dd6f3 100644 --- a/app/assets/javascripts/discourse/templates/components/header-extra-info.hbs +++ b/app/assets/javascripts/discourse/templates/components/header-extra-info.hbs @@ -15,7 +15,9 @@ {{/if}} {{/if}} - {{topic-category topic=topic}} + {{#if topic.details.loaded}} + {{topic-category topic=topic}} + {{/if}}