mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
move into property so does not evaluate too early.
This commit is contained in:
parent
d897eada61
commit
109d7cc52d
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
export default Ember.ArrayController.extend(Discourse.HasCurrentUser, {
|
||||
itemController: "site-map-category",
|
||||
|
||||
showBadgesLink: Discourse.SiteSettings.enable_badges,
|
||||
showBadgesLink: function(){return Discourse.SiteSettings.enable_badges;}.property(),
|
||||
showAdminLinks: Em.computed.alias('currentUser.staff'),
|
||||
flaggedPostsCount: Em.computed.alias("currentUser.site_flagged_posts_count"),
|
||||
|
||||
|
|
Loading…
Reference in a new issue