mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
Remove many usages of Discourse
in templates as it's deprecated in new
releases of Ember
This commit is contained in:
parent
af6936cf72
commit
8559bbe508
11 changed files with 18 additions and 13 deletions
|
@ -11,6 +11,8 @@ export default Ember.Controller.extend({
|
|||
versionCheck: null,
|
||||
problemsCheckMinutes: 1,
|
||||
|
||||
showVersionChecks: Discourse.computed.setting('version_checks'),
|
||||
|
||||
foundProblems: function() {
|
||||
return(Discourse.User.currentProp('admin') && this.get('problems') && this.get('problems').length > 0);
|
||||
}.property('problems'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue