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

7 lines
170 B
JavaScript

export default Ember.Controller.extend({
titleSorting: ['title'],
emailTemplates: null,
sortedTemplates: Ember.computed.sort('emailTemplates', 'titleSorting')
});