mirror of
https://github.com/discourse/discourse.git
synced 2025-03-10 00:35:44 +08:00
14 lines
299 B
Plaintext
14 lines
299 B
Plaintext
![]() |
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);
|
||
|
});
|
||
|
}
|
||
|
});
|