mirror of
https://github.com/discourse/discourse.git
synced 2025-09-08 12:06:51 +08:00
DEV: Ember 3.8.0
Co-Authored-By: majakomel <maja.komel@gmail.com>
This commit is contained in:
parent
c617e512ad
commit
4b455e741e
63 changed files with 573 additions and 438 deletions
|
@ -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 });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue