mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 19:29:34 +08:00

committed by
Joffrey JAFFEUX

parent
c617e512ad
commit
4b455e741e
@ -1,4 +1,7 @@
|
||||
import computed from "ember-addons/ember-computed-decorators";
|
||||
|
||||
export default Ember.Controller.extend({
|
||||
@computed
|
||||
adminRoutes: function() {
|
||||
return this.get("model")
|
||||
.map(p => {
|
||||
@ -7,7 +10,8 @@ export default Ember.Controller.extend({
|
||||
}
|
||||
})
|
||||
.compact();
|
||||
}.property(),
|
||||
},
|
||||
|
||||
actions: {
|
||||
clearFilter() {
|
||||
this.setProperties({ filter: "", onlyOverridden: false });
|
||||
|
Reference in New Issue
Block a user