mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 23:38:35 +08:00
1a78e12f4e
- moderation tab - sorting/pagination - improved third party reports support - trending charts - better perf - many fixes - refactoring - new reports Co-Authored-By: Simon Cossar <scossar@users.noreply.github.com>
14 lines
299 B
JavaScript
14 lines
299 B
JavaScript
import computed from "ember-addons/ember-computed-decorators";
|
|
|
|
export default Ember.Component.extend({
|
|
tagName: "tr",
|
|
classNames: ["admin-report-table-row"],
|
|
|
|
@computed("data", "labels")
|
|
cells(row, labels) {
|
|
return labels.map(label => {
|
|
return label.compute(row);
|
|
});
|
|
}
|
|
});
|