mirror of
https://github.com/discourse/discourse.git
synced 2025-05-29 21:08:03 +08:00
FIX: improves number/percent support in reports
This commit is contained in:
@ -1,13 +1,5 @@
|
||||
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);
|
||||
});
|
||||
}
|
||||
options: null
|
||||
});
|
||||
|
Reference in New Issue
Block a user