2019-10-30 16:28:29 -04:00
|
|
|
import { match } from "@ember/object/computed";
|
2019-10-23 12:30:52 -04:00
|
|
|
import Component from "@ember/component";
|
|
|
|
export default Component.extend({
|
2018-05-14 10:04:54 -04:00
|
|
|
allTime: true,
|
2015-07-22 14:15:58 -04:00
|
|
|
tagName: "tr",
|
2019-10-30 16:28:29 -04:00
|
|
|
reverseColors: match(
|
2015-07-22 14:15:58 -04:00
|
|
|
"report.type",
|
|
|
|
/^(time_to_first_response|topics_with_no_response)$/
|
|
|
|
),
|
|
|
|
classNameBindings: ["reverseColors"]
|
2015-02-24 13:47:46 -05:00
|
|
|
});
|