mirror of
https://github.com/discourse/discourse.git
synced 2024-12-17 00:13:51 +08:00
11 lines
226 B
JavaScript
11 lines
226 B
JavaScript
export default Ember.Controller.extend({
|
|
emailTemplates: null,
|
|
sortedTemplates: Ember.computed.sort("emailTemplates", "titleSorting"),
|
|
|
|
init() {
|
|
this._super(...arguments);
|
|
|
|
this.titleSorting = ["title"];
|
|
}
|
|
});
|