mirror of
https://github.com/discourse/discourse.git
synced 2025-05-26 08:11:50 +08:00
DEV: s/Em/Ember (#6874)
This commit is contained in:
@ -14,15 +14,15 @@ export default Ember.Controller.extend(CanCheckEmails, {
|
||||
listFilter: null,
|
||||
selectAll: false,
|
||||
|
||||
queryNew: Em.computed.equal("query", "new"),
|
||||
queryPending: Em.computed.equal("query", "pending"),
|
||||
queryHasApproval: Em.computed.or("queryNew", "queryPending"),
|
||||
showApproval: Em.computed.and(
|
||||
queryNew: Ember.computed.equal("query", "new"),
|
||||
queryPending: Ember.computed.equal("query", "pending"),
|
||||
queryHasApproval: Ember.computed.or("queryNew", "queryPending"),
|
||||
showApproval: Ember.computed.and(
|
||||
"siteSettings.must_approve_users",
|
||||
"queryHasApproval"
|
||||
),
|
||||
searchHint: i18n("search_hint"),
|
||||
hasSelection: Em.computed.gt("selectedCount", 0),
|
||||
hasSelection: Ember.computed.gt("selectedCount", 0),
|
||||
|
||||
selectedCount: function() {
|
||||
var model = this.get("model");
|
||||
|
Reference in New Issue
Block a user