mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 02:30:57 +08:00
10 lines
237 B
JavaScript
10 lines
237 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"]
|
|
});
|