discourse/app/assets/javascripts/admin/controllers/admin-customize-email-templates.js.es6

11 lines
226 B
Plaintext
Raw Normal View History

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