mirror of
https://github.com/discourse/discourse.git
synced 2024-12-15 21:53:44 +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"];
|
|
}
|
|
});
|