mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 11:11:13 +08:00
DEV: reduces memory footprint of tests - step 1 (#7591)
This commit is contained in:
@ -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"];
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user