mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 08:43:25 +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"];
|
|
}
|
|
});
|