discourse/app/assets/javascripts/admin/controllers/admin-customize-email-templ...

7 lines
170 B
JavaScript

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