DEV: reduces memory footprint of tests - step 1 (#7591)

This commit is contained in:
Joffrey JAFFEUX
2019-05-28 12:15:12 +02:00
committed by GitHub
parent 07b80d491b
commit 6decdfce5c
41 changed files with 655 additions and 430 deletions

View File

@ -1,6 +1,10 @@
export default Ember.Controller.extend({
titleSorting: ["title"],
emailTemplates: null,
sortedTemplates: Ember.computed.sort("emailTemplates", "titleSorting"),
sortedTemplates: Ember.computed.sort("emailTemplates", "titleSorting")
init() {
this._super(...arguments);
this.titleSorting = ["title"];
}
});