mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
FIX: Load order issue / header category badge when not surpressed
This commit is contained in:
parent
d171d6db19
commit
220f2424b5
2 changed files with 1 additions and 3 deletions
|
@ -12,9 +12,7 @@ export default DiscourseController.extend({
|
|||
|
||||
hasCategory: function() {
|
||||
var cat = this.get('topic.category');
|
||||
return cat &&
|
||||
!cat.get('isUncategorizedCategory') ||
|
||||
!this.siteSettings.suppress_uncategorized_badge;
|
||||
return cat && (!cat.get('isUncategorizedCategory') || !this.siteSettings.suppress_uncategorized_badge);
|
||||
}.property('topic.category'),
|
||||
|
||||
showPrivateMessageGlyph: function() {
|
||||
|
|
Loading…
Reference in a new issue