discourse/app/assets/javascripts/admin/components/admin-report-counts.js
2020-09-04 13:42:47 +02:00

12 lines
307 B
JavaScript

import { match } from "@ember/object/computed";
import Component from "@ember/component";
export default Component.extend({
allTime: true,
tagName: "tr",
reverseColors: match(
"report.type",
/^(time_to_first_response|topics_with_no_response)$/
),
classNameBindings: ["reverseColors"],
});