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

@ -8,20 +8,20 @@ export default DropdownSelectBoxComponent.extend({
selectKitOptions: {
showFullTitle: false,
filterable: false,
autoFilterable: false
autoFilterable: false,
},
modifyContent(contents) {
return contents
.map(content => {
.map((content) => {
if (content.condition) {
return {
icon: content.icon,
name: I18n.t(content.label),
id: content.action
id: content.action,
};
}
})
.filter(Boolean);
}
},
});