FIX: improves number/percent support in reports

This commit is contained in:
Joffrey JAFFEUX
2018-08-01 18:40:59 -04:00
committed by GitHub
parent 4a872823e7
commit 9073e11943
13 changed files with 127 additions and 104 deletions

View File

@ -3,7 +3,7 @@ import computed from "ember-addons/ember-computed-decorators";
export default Ember.Component.extend({
tagName: "th",
classNames: ["admin-report-table-header"],
classNameBindings: ["label.mainProperty", "isCurrentSort"],
classNameBindings: ["label.mainProperty", "label.type", "isCurrentSort"],
attributeBindings: ["label.title:title"],
@computed("currentSortLabel.sortProperty", "label.sortProperty")