discourse/app/assets/javascripts/admin/components/admin-report-counts.js.es6

7 lines
225 B
JavaScript

export default Ember.Component.extend({
allTime: true,
tagName: 'tr',
reverseColors: Ember.computed.match('report.type', /^(time_to_first_response|topics_with_no_response)$/),
classNameBindings: ['reverseColors']
});