mirror of
https://github.com/discourse/discourse.git
synced 2024-12-16 00:04:04 +08:00
12 lines
307 B
JavaScript
12 lines
307 B
JavaScript
import Component from "@ember/component";
|
|
import { match } from "@ember/object/computed";
|
|
export default Component.extend({
|
|
allTime: true,
|
|
tagName: "tr",
|
|
reverseColors: match(
|
|
"report.type",
|
|
/^(time_to_first_response|topics_with_no_response)$/
|
|
),
|
|
classNameBindings: ["reverseColors"],
|
|
});
|