mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 05:43:39 +08:00
a433b30650
This conversion was achieved using the ember-native-class-codemod, plus a handful of manual fixes/tweaks
13 lines
391 B
JavaScript
13 lines
391 B
JavaScript
import { classNameBindings, tagName } from "@ember-decorators/component";
|
|
import { match } from "@ember/object/computed";
|
|
import Component from "@ember/component";
|
|
|
|
@tagName("tr")
|
|
@classNameBindings("reverseColors")
|
|
export default class AdminReportCounts extends Component {
|
|
allTime = true;
|
|
|
|
@match("report.type", /^(time_to_first_response|topics_with_no_response)$/)
|
|
reverseColors;
|
|
}
|