DEV: Ember 3.8.0

Co-Authored-By: majakomel <maja.komel@gmail.com>
This commit is contained in:
Maja Komel
2019-04-26 12:16:21 +02:00
committed by Joffrey JAFFEUX
parent c617e512ad
commit 4b455e741e
63 changed files with 573 additions and 438 deletions

View File

@ -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 });