DEV: apply new coding standards (#10592)

This commit is contained in:
Joffrey JAFFEUX
2020-09-04 13:42:47 +02:00
committed by GitHub
parent 80dfaeb0d2
commit 52672b9eab
1473 changed files with 9386 additions and 9958 deletions

View File

@ -7,13 +7,13 @@ export default SelectKitHeaderComponent.extend({
classNames: ["multi-select-header"],
layout,
selectedNames: computed("selectedContent", function() {
return makeArray(this.selectedContent).map(c => this.getName(c));
selectedNames: computed("selectedContent", function () {
return makeArray(this.selectedContent).map((c) => this.getName(c));
}),
selectedValue: computed("selectedContent", function() {
selectedValue: computed("selectedContent", function () {
return makeArray(this.selectedContent)
.map(c => {
.map((c) => {
if (this.getName(c) !== this.getName(this.selectKit.noneItem)) {
return this.getValue(c);
}
@ -21,5 +21,5 @@ export default SelectKitHeaderComponent.extend({
return null;
})
.filter(Boolean);
})
}),
});