mirror of
https://github.com/discourse/discourse.git
synced 2024-12-15 11:03:41 +08:00
2ae21e9c35
* DEV: Import every instance of Ember.computed function * export default for Ember.computed
12 lines
306 B
JavaScript
12 lines
306 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"]
|
|
});
|